|  | Posted by Jonathan N. Little on 06/09/05 07:04 
Domestos wrote:> I know quite a bit of HTML and CSS but have got stuck on one paticular
 > problem...
 >
 > I need to use CSS to put text links across the screen i.e. HOME, PLAYERS,
 > REGISTER etc...
 >
 > now if I am on the home page I want the background colour to change from
 > white to say red behind the HOME text.
 >
 > I can get it to do this by sticking in <DIV> tags but that then makes
 > PLAYERS and REGISTER appear lower down the page rather than next to HOME
 >
 > Is there anyway I can use CSS to create the text on one line i.e. not throw
 > a line feed?
 >
 > Thanks
 > Andy Mak
 >
 >
 <DIV> are 'block' elements by default, e.g., they break the line at
 their termination. The native inline tag is <SPAN>.
 
 --
 Take care,
 
 Jonathan
 -------------------
 LITTLE WORKS STUDIO
 http://www.LittleWorksStudio.com
  Navigation: [Reply to this message] |