|
|||||||
New to SitePoint Forums? Register here for free!
|
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Member
Join Date: Sep 2002
Posts: 5
|
I am attempting to write my 1st site using just CSS and I want total control over return characters. However, I'm hitting a stumbling block.
This is what I what I'm trying to create: Media Contact: Fname Lname, Company Name, (###) ###-#### Corporate Contacts: Fname Lname, Company Name, (###) ###-#### Fname Lname, Company Name, (###) ###-#### Pretty straight forward. Right? Well the only way I have been able to recreate this is by using this code: .contact { text-align: left; font-weight: normal; } .contactHead { font-weight: bold; margin: 0px 0px 1px 0px; border: none; } .contactbody { font-weight: normal; margin: 0px 0px 1px 0px; border: none; } <div class="contact"> <p class="contactHead">Media Contact /p><p class="contactbody">Fname Lname, Company Name, (###) ###-#### </p> <p class="contactbody"> </p> <p class="contactHead">Corporate Contacts /p><p class="contactbody">Fname Lname, Company Name, (###) ###-####</p> <p class="contactbody">Fname Lname, Company Name, (###) ###-####</p> </div> Is this the best way? Does anyone know a better way? Please help, I'm pretty new to CSS. ![]() |
|
|
|
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 03:42.




/p>




Threaded Mode