2 replies [Last post]
davide77
Offline
newbie
Bern
Last seen: 18 years 13 weeks ago
Bern
Timezone: GMT+1
Joined: 2004-05-11
Posts: 8
Points: 0

Hallo,
I have this problem I'm trying to format some text in two different ways: first part in a way, second part in another way. The problem is that i don't know hw to refer to the two different part without making the second part going to a new line.

I tried with the <p> tag and with the <div> tag:

Here the html:

<div class="dot">first part</div><div class="menu"> second part</div>

Here the css:

.menu {font-family:Arial;
font-size:11;
color: #666666;
font-weight: bold}

.dot {font-family:Tahoma;
font-size:12;
color: #666666;
font-weight: bold}

Thanks for suggestions

Davide

Arkkimaagi
Offline
Regular
Last seen: 18 years 13 weeks ago
Timezone: GMT+2
Joined: 2004-05-11
Posts: 29
Points: 0

Text formatted in two different ways but on the same line

Instead of div, try span

~ Arkkimaagi ~
Experto credite

davide77
Offline
newbie
Bern
Last seen: 18 years 13 weeks ago
Bern
Timezone: GMT+1
Joined: 2004-05-11
Posts: 8
Points: 0

Text formatted in two different ways but on the same line

thanks Arkk