...

View Full Version : <p> tags and <li> problems?



stfc_boy
02-27-2008, 06:06 PM
Hi Guys,

I have a couple of CSS problems i'd like your help with on this page

http://www.slougheaz.org/box.html

1) On this page in the first element i'd like it so the text is moved up towards the Headline goes here heading

2) On this page in the second element i'd again like the text moved up, but also to the left,

Both just like the screenshot i've posted on the page. I've tried fiddling, but can't get it to do what I want

Can anyone help?

Thanks
Chris

sobrien79
02-27-2008, 07:25 PM
To fix both issues, you'll have to mess with the margins and padding of the UL and P tags. The browser's default styling has about 25px of margin-left for UL and 18 - 20px of margin for P tags.

Most people add the below style declaration to the top of their style sheets to reset margin and padding to zero.



* {
margin: 0px;
padding: 0px;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum