logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 08-07-2008, 02:42 PM   #1
Ricky55
Ricky55's Avatar
 
Join Date: Oct 2005
Location: West Yorkshire, UK
Posts: 1,855
Default Margin: 0; ignored

Hi

You can see the page I'm working on here

http://www.qwerty-design.co.uk/test.html

Everything is OK but I can't get the content aligned with the top of the page with body margin 0.

Well I can but as soon as I add my unordered list to the HTML it pulls away from the top.

How can I prevent this?
__________________
Qwerty Design

Check out my blog for web design insights.
http://www.qwerty-design.co.uk/
Follow me on Twitter: @QwertyDesignUK
Ricky55 is offline   Reply With Quote
Old 08-07-2008, 03:07 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

set a 0 top-margin on your ul list.
domedia is offline   Reply With Quote
Old 08-07-2008, 03:48 PM   #3
Ricky55
Ricky55's Avatar
 
Join Date: Oct 2005
Location: West Yorkshire, UK
Posts: 1,855
Default

Dom I could kiss you mate, that's been pissing me off most of the afternoon, you know when you've been looking at code all day and the more you look at it the more it just looks like a load of confusing letters and numbers.

Thanks mate.
__________________
Qwerty Design

Check out my blog for web design insights.
http://www.qwerty-design.co.uk/
Follow me on Twitter: @QwertyDesignUK
Ricky55 is offline   Reply With Quote
Old 08-07-2008, 06:09 PM   #4
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

hehe you're welcome. I had a similar issue this morning, and the third guy that was trying to help me out went "Is there a reason why there's no doctype on this document".. duh!
domedia is offline   Reply With Quote
Old 08-07-2008, 08:25 PM   #5
Ricky55
Ricky55's Avatar
 
Join Date: Oct 2005
Location: West Yorkshire, UK
Posts: 1,855
Default

Its so satisfying though when you finally get things working.

Thanks mate.
__________________
Qwerty Design

Check out my blog for web design insights.
http://www.qwerty-design.co.uk/
Follow me on Twitter: @QwertyDesignUK
Ricky55 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com