CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 29th, 2012, 08:59 PM
maineman maineman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 112 maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 14 h 27 m 57 sec
Reputation Power: 5
Formatting multiple paragraphs

If you have multiple <p> in you document, how do you format them individually with CSS? Newbie here just trying to figure it out.

Reply With Quote
  #2  
Old September 29th, 2012, 09:43 PM
aeternus's Avatar
aeternus aeternus is offline
For POny!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Amsterdam
Posts: 416 aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 4 h 56 m 43 sec
Reputation Power: 114
If you want to make them unique give them an id or use the unnique context they are in.


Code:
<p id="googleisyourfriend">
some text
</p>


in css
Code:
#googleisyourfriend{color:red;}


or
Code:
<div id="container">
    <p> google seems to know all kinds of stuff</p>
</div>

in css
Code:
#container p{color:red;}
__________________
PHP Tutorial

Reply With Quote
  #3  
Old September 29th, 2012, 09:45 PM
maineman maineman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 112 maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level)maineman User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 14 h 27 m 57 sec
Reputation Power: 5
thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Formatting multiple paragraphs

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap