You are here: Re: CSS and line feed help.... « HTML « IT news, forums, messages
Re: CSS and line feed help....

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация