Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
dreamweaver easy question
Old 03-09-2007, 01:59 PM dreamweaver easy question
Skilled Talker

Posts: 81
Trades: 0
Hello,

Please take a look at the following link:

http://img54.imageshack.us/my.php?im...mweavergj9.jpg

I am very new at web design.

How can I make the image that has the menu options to go all the way up so the white space that you see at the very top does not show?

Thanks
allan16 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-09-2007, 03:31 PM Re: dreamweaver easy question
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
in your CSS add this...

body {
margin: 0 auto;
}
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 04:02 PM Re: dreamweaver easy question
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Get in the habit of zeroing out margin and padding for all of your major elements from the very start.

body, h1, h2, h3, h4, p, ul, a{ /* add as many as you want */
margin: 0
padding: 0
}

That will put you on a level playing field with no default spaces.
The margin: 0 auto; -- will center elements as the 'auto' refers to the left and right sides, the 0 top and bottom.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-09-2007, 09:14 PM Re: dreamweaver easy question
Skilled Talker

Posts: 81
Trades: 0
Thanks for the help on this.
I added "margin: 0 auto;" into the body of the CSS and I can see on dreamweaver how the image went all the way to the top! but when I do a preview (F12) it is still showing up like that.

Thx
allan16 is offline
Reply With Quote
View Public Profile
 
Old 03-10-2007, 01:01 PM Re: dreamweaver easy question
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Preveiw in WHAT browser ??
Use the margin: 0 and padding:0 on the body as I posted it.
Can you post your code ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-10-2007, 03:14 PM Re: dreamweaver easy question
seowebdesigner's Avatar
Super Talker

Posts: 115
Location: www.mowglitech.com
Trades: 0
<style type="text/css">
Body {
margin:0px;
padding:0px;
}
</style>
Put this code above </head> tag of your web page.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

seowebdesigner is offline
Reply With Quote
View Public Profile Visit seowebdesigner's homepage!
 
Old 03-11-2007, 02:09 PM Re: dreamweaver easy question
Skilled Talker

Posts: 81
Trades: 0
mmm...

I use Firefox but I tried with Internet Explorer and it looks the way it should..

Why would it be like this?

Thx
allan16 is offline
Reply With Quote
View Public Profile
 
Old 03-11-2007, 03:17 PM Re: dreamweaver easy question
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
body{
margin: 0
padding: 0;
}

That works in EVERY browser. If you can't show us your code or a URL we cant' possibly see what ELSE is probably causing the problem.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to dreamweaver easy question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19818 seconds with 12 queries