20 replies [Last post]
cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

I am trying to build my first site using css and having alot of trouble. i have tried 4 times today and have gotten close, but for somereason anytime i maximize the page, the writing moves off the page. the div's don't stay where they are suppose to. I have been working on this for two sollid days and cannot figure out how to code this site using css..I am a newbie to html and css but trying to figure it out. I know that the css will do the font that i want, and i have had it display it correctly, but when i tried to add the link styles like a.visited and all the colors, it stopped working. Here is the image i trying to work up.

http://www.wilsonwrites.com/images/site.gif

does anyone have any suggestions on how i can get this working? I have heard that css is suppose to be easier than html tables, but i am not finding that to be true yet. I need some insight here i guess. Any help would be greatly appreciated.

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 52 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

could you show us what

could you show us what you've tried thus far?

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 5 years 11 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

you have shown us an

you have shown us an image.
are we supposed to code it for you?
would you like to provide a link or possibly all of your code?

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

I have set up my efforts for

I have set up my efforts for you to see. you can view it at http://www.wilsonwrites.com/kelliysite.html

The problem i had is that i am trying to use the font fine hand. but when i made an h1 class, it changed the font and underlined everything. I stripped away the pictures trying to just work with the text to get it working, but no matter what i did, i couldn't get the text to display without the underline and the propper font. Then i couldn't get the links to display the propper color. So i tried a bunch of different things before giving up. You can download the .psd here
http://www.creativeeventsdesign.com/kelliysite.rar

Here is the code that i finally ended with. this is what you will see when you visit the site. Notice how when you maximize the browser or minimize, the text moves. I am trying to learn this stuff as a hobby in my spare time, but i do spend alot of time with it. I like css, just don't understand it yet. If you could code this site up for me so i can see how it's done, that would be awsome. What i don't understand is how to place the slices of the images. how do you find out the coordinates of where the images are suppose to go? How do you center the page in the browser? i have been looking on this site...http://www.w3schools.com/css/default.asp but I think it leaves alot out.

Wilson Writes


















cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

Ok, here you can view my

Ok, here you can view my latest effort. http://www.wilsonwrites.com/new/kelliysite.html I have been working on it for an hour if you minimize the browser then maximize you can see my big problem. and then if you look at the link, it's underlined and i don't want it to be. whenever i make the text a link, it automatically makes it underlined.

Here is my code for this site

kelliysite

so what i am wondering is should i continue with the site coding it like this or use the a.link a.hover a.visited and so on...not sure the best way to make text. the only way i could get it to look like this was to make the website a background picture instead of slices. then i thought the div tag would allow me to write my text. but i am wrong. it moves.

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 52 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

First off get yourself a

First off get yourself a doctype for the page - then we can tackle your layout... I suggest you stay away from using absolute positioning also.
text-decoration:none will get rid of your underline on a link

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

I do not know what you mean

I do not know what you mean by doctype. can you explain this in detail..thanks

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 32 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Go to the "How to" forum or

Go to the "How to" forum or read the sticky messages at the top of the message list in this one. They are there for your benefit and we expect that you have read them before you start posting with questions.

The question has been answered many times on this site, the answer is posted prominently, and we get tired of being asked to repeat ourselves. This is a self help forum and we expect you to help yourself. We are not here to hold your hands.

We also expect you to be able to use the google search engine. Simply enter "html doctype" into the google search box and the very first link in the result list will also tell you what you want to know.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

well ed, technically you can

well ed, technically you can find anything on google so then what would be the point of you being here at all. google does make you useless doesn't it. i did google doctype and i did figure out what it is. If i had time to google everything then i wouldn't need to ask questions at all would I. if you don't want to help people i would suggest you don't post in any threads as i am sure every question in the world has been asked and answered somewhere. Do you see the logic in this ed? Sounds to me like you need to take a vacation. If this isn't the right comunity for help and support, i will find another one.

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 5 years 11 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Ah, see you're wrong.

Ah, see you're wrong.
We are here to help people who don't mind helping themselves.

You prove to us that you have done everything you can to try and figure it out, but are still lost, we come in.

You come to us saying "I don't have time for Google, do it for me." then you are Sh*t Out Of Luck, because we don't care.

Don't like our attitude or the way we do things? Request a refund.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Triumph (not verified)
Anonymous's picture
Guru

Can it!

cybershot wrote:
well ed, technically you can find anything on google so then what would be the point of you being here at all. google does make you useless doesn't it. i did google doctype and i did figure out what it is. If i had time to google everything then i wouldn't need to ask questions at all would I. if you don't want to help people i would suggest you don't post in any threads as i am sure every question in the world has been asked and answered somewhere. Do you see the logic in this ed? Sounds to me like you need to take a vacation. If this isn't the right comunity for help and support, i will find another one.

Let's cool down there, sunshine.

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

well guys. if you look at

well guys. if you look at the first post you will see that i did post a page for you to look at. i did try everything i could. i tried making the page without help using another site that has alot of information about css. wich i also posted above. i then came across a problem that i could not figure out. again wich is posted above. i then asked for help on this problem here. Wich was not answered going on what 2 days now. I do have time to google and i do google alot. howevery you assume that the only thing i am doing is css. unfortunatly i have c++, c, php, javascript, I am taking classes in c# trying to learn html, css, imageready, photoshop, i am a very busy guy. after spending a few hours googling my issue and tring to solve it myself, i came here to ask for help. only to not get it. I have no problem helping my self. I would love to work with you to solve this problem. i could just do without the attitude. I am right. every answer can be found on google. But i prefer to come to comunities like this one and get help from people that can respond to my questions with nice helpfull answers. That's not to much to ask is it.

Triumph (not verified)
Anonymous's picture
Guru

cybershot wrote:... i could

cybershot wrote:
... i could just do without the attitude. ...
Ok, let's be real here, your tirade against Ed was the first with any inkling of attitude. I can understand because you are frustrated. I know what it's like but there is no need to take it out on Ed or anyone else here.
cybershot wrote:
... That's not to much to ask is it.

Had you bothered to read the stickies that were created specifically for you (and others like you looking for the same information) you would have had at least some of your answers. That's not too much to ask, is it?

Let's all relax.

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

I will read the stikies, i

I will read the stikies, i will look, i will try. But to be honest, i bugs the crap out of me when people just say keep looking. Why have a question and answer forum if you just gonna say keep looking. I answer questions on forums all the time. forums where i have post tutorials on how to do stuff. when someone askes, i answer, or I post a link to the exact forum they need to get there question answered. You guys come off as people who don't want to help. Just put up a wiki and call it quites.
I think i will find another comunity. this isn't a very helpfull place i think. If you would have spent half the time helping instead of arguing, this problem would have been solved. You can look at stickies all day long, but if you just don't get it or make a small mistake, eventually you need help to figure it out. I told you already. I spent time on this issue already and couldn't figure it out. that's not gonna change without help. the help says to use a div tag, well i did and got problems. i posted above my second efforts after making my initial post. that should prove to you that i am still working on it without asking a bunch of questions.

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 52 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

Wait a minute...let's step

Wait a minute...let's step back a minute and regroup.
You first posted an image with questions about link styles. An image, while illuminating, is not very helpful in the overall scheme of things.
You then posted links and code to the page you were working on. Good. Those posts contained a request for someone to code it for you (not so good, but understandable) and additional questions on slices, coordinates, centering etc... fine.

You were then asked to get a doctype, warned to stay away from absolute positioning and given a solution for your initial link style question.

At that point things began to deteriorate... perhaps if I would have given you a "link" to doctype information, that wouldn't have happened? Smile

Nonetheless, your page still doesn't have a doctype. Without a proper doctype and valid html (which would've probably been the next item we would have asked you to do - as per the stickies) any potential solutions offered to your problems are at best a shot in the dark.

I can tell you from first hand experience that this forum WILL give you solutions to any problem you will come across, but not without some work on your part as well. I frequent a dozen different forum and this one is by far the most helpful.

So... the ball is in your court.
Get a proper doctype http://www.alistapart.com/stories/doctype/
Validate your html http://validator.w3.org/
Return with your questions

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

Your right. i did google

Your right. i did google doctype and figured out what it was. i have to work, so i haven't had time to put that in there yet. wich is why it's not showing yet. As far as the solution to the linking wich was to add {text-decoration: none} that didn't do me any good. i tried that when i read it in the post and it didn't work. so the people here would jump to conclusions saying i am not trying wich upset me when i am trying. the solution that google provided and this site provided didn't work. Maybe i over reacted. I am sorry. but it annoys me when people post and says "google it and you will find the answer" That's how i found this site. I was using google to find my answers and not getting anywhere. Thanks for the links. i will check them out and get back to you.

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

Ok, i got the doctype in

Ok, i got the doctype in there and used that link you gave me to validate the code. i had 4 errors then six then checked a box for it to output the right code and then just copied and pasted and now it says it's perfect. but my two problems still exist.

1. The link is underlined dispite the {text-decoration: none}

2. The link is in a div tag and it moves when you resize the page. I don't understand why it moves

3. you can view the page at http://www.wilsonwrites.com/new/kelliysite.html

kelliysite

body.c1 {background-color:#000000; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;}

One last thing. i asked above if someone would code the page only so that i could study it and see the proper way to lay out the page. to understand how css puts the page together. I thought it was a simple enough page. I see in one of the stikies, there is a small page put up by tony for that purpose. i looked at it and it helped alittle.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 32 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

cybershot wrote:if you don't

cybershot wrote:
if you don't want to help people i would suggest you don't post in any threads as i am sure every question in the world has been asked and answered somewhere. Do you see the logic in this ed?

No actually, I don't. Did you try to see the logic in what I said?

Say you work as a bartender, and people come up to you all the time and ask "where's the bathroom". The bathroom is visible from the bar and has a nice big sign on it, yet people's number one question, over and over, is "where's the bathroom". So you post a really big bright sign on the bar with a really big bright arrow pointing straight to the bathroom and with the word "bathroom" in great big letters under the arrow. So then if people still keep coming up to you and asking "where's the bathroom" over and over, might you not get just a wee bit testy and might not your answers tend to get, er, blunt?

The analogy is apt, I think. We've posted messages in every forum, in bold letters and right at the top of the subject listings with titles like "Use the right Doctype - here's why". We know too, that excellent answers to the questions about doctypes are easily findable in Google, but nevertheless we've also posted messages all over the place about it with nice obvious titles. Yet folks still keep asking us about doctypes!

And when we point to the obvious places and ask people to read these things they get upset.
I even gave you a link to the right query result in google, which took me a couple of minutes, time for which I did not, you'll notice, try to bill you.

Me, I think that when I start to use a forum I look around for awhile first, to sort of get the lay of the land and figure out what the forum is about and what the culture there is like and what is asked and expected of me. Then I decide if I like the place. If I do and I decide to stay I consider that I've accepted and should abide by the rules and the culture of that forum. If I don't I go away.

And if I'm asking folks to give me free advice on their own valuable time I appreciate whatever they're willing to give me.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

cybershot
Offline
Regular
Last seen: 13 years 46 weeks ago
Joined: 2007-09-07
Posts: 33
Points: 0

You are only wrong in the

You are only wrong in the way that i did look at the info and you assume i did not. If you look at my post you will see that the answer to one of my questions is to add {text-decoration: none} I can google that all day long. i can come in here and ask you and you can tell me to google it. I did google it and the answer isn't working. I tried for hours before posting here. So when i finaly arived here, i was done researching hundreds of posts and many different pages. i had given up and was ready for someone who knows just to tell me. I looked at your sign above the bar, but it was just pointing the wrong way. so...where's the bathroom.

Triumph (not verified)
Anonymous's picture
Guru

This one is officially DONE!

This one is officially DONE! Take your pissing match somewhere else.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 23 weeks 1 day ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

cybershot wrote:You are only

cybershot wrote:
You are only wrong in the way that i did look at the info and you assume i did not.

But you obviously missed the BIG CAPS MESSAGE that says DOCTYPES ARE IMPORTANT.

Stickies are there to avoid situations like this. I don't know why we bother.

Verschwindende wrote:
  • CSS doesn't make pies