Web Design (text touching borders)
When I placed my text within my page, it's right up against the left border web design. Is there any way I can correct this?
{{link removed by moderators}}
When I placed my text within my page, it's right up against the left border web design. Is there any way I can correct this?
{{link removed by moderators}}
Megan posted this at 15:55 — 25th May 2009.
She has: 11,421 posts
Joined: Jun 1999
Could you post a working link to the page you're having problems with? You probably need to add some padding to the box containing the text (use CSS).
Megan
Connect with us on Facebook!
webwiz posted this at 03:28 — 26th May 2009.
He has: 629 posts
Joined: May 2007
If your text is in paragraphs and lists, you can also add side margins to push them away from the side. Put this in your CSS :
p, ul, ol (
margin-left: 1.5em;
margin-right: 1.5em;
}
(or any size you fancy.)
Useful if you are using the BODY as a container, or if the container DIV needs a specific width.
There are other alternatives, too. Post a link as Megan suggests so we can see your problem for ourselves. Best wishes.
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.