spaces in doctype transitional

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

chrissy1955

Thread Starter
Joined
Jan 29, 2010
Messages
51
I need to nudge a few words across the page to look better and the validation says I can't use &nbsp I am assuming this is realated to a transitional doc type issue or is it to do with charset=utf-8 anyway how do i get to nudge the words across the page please:(
 

chrissy1955

Thread Starter
Joined
Jan 29, 2010
Messages
51
thanks for the response, I am a student and not up to using CSS yet but will play with the idea of cellpadding and see how that goes Thanks
 
Joined
Aug 12, 2007
Messages
696
cellpadding is ok within a table element, but probably not what you want since it will add padding all the way around.

If you site layout is built in tables, but within an element you need to nudge to the right, you could wrap the nudged content with something like:
<div style="padding-left:10px">text</div>
Now this is certainly a hack, and the "better" way would be to use css for the whole thing, but when you're learning you mess around with things along the way to get what you want. When you're ready, some simple instructions like this page can help a lot with your understanding. It's worth the time to learn, and not too hard to do the basic stuff.
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
Can I see the url to your site.... i googled it, but didn't come up,
ps take this to a different forum////
 

chrissy1955

Thread Starter
Joined
Jan 29, 2010
Messages
51
<h3 style="text-align:left;font-family:Verdana, Arial, Helvetica, sans serif;color:Darkorange"> WHY SHOP ONLINE AT JOE'S</h3>

I want to nudge along from why shop online at joe's as it sits above an unordered list.

I haven't published to WWW just learning. Which forum should I take it to? I have saved the CSS doc you sent for when I am up to that - many thanks
 

rotarysteve

Banned
Joined
Dec 26, 2010
Messages
496
I need to nudge a few words across the page to look better and the validation says I can't use &nbsp I am assuming this is realated to a transitional doc type issue or is it to do with charset=utf-8 anyway how do i get to nudge the words across the page please:(
You can use &nbsp..... just make sure you have a ; immediatly after the &nbsp

This issue will not have anything to do with your doc-type or charset, I would have to see what you have that gives this error.

I have used &nbsp; to bump an image/text from left to right. part of the learning curve.... There are other ways to place text, but all in good time.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top