iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old March 17th, 2008, 09:23 PM   #1
Most Reputable Member
 

Join Date: Feb 2008
Location: In My Own Little World
Age: 15
Posts: 1,346
Blog Entries: 9
Thanks: 2
Thanked 45 Times in 45 Posts
Rep Altering Power: 0 CloudedVision is on a distinguished road
[SOLVED] tabs with CSS

I want to let my website have tabbed paragraphs. Is there a way to do this in CSS. Something so the first line always start 20px or so more to the right?
__________________
Theron Luhn
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 17th, 2008, 09:40 PM   #2
Most Reputable Member
 

Join Date: Feb 2008
Location: In My Own Little World
Age: 15
Posts: 1,346
Blog Entries: 9
Thanks: 2
Thanked 45 Times in 45 Posts
Rep Altering Power: 0 CloudedVision is on a distinguished road
Re: tabs with CSS

nevermind, text-indent works great
__________________
Theron Luhn
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 18th, 2008, 11:43 AM   #3
Elite Veteran
 

Join Date: Aug 2005
Location: That Place
Posts: 2,081
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0 moojoo will become famous soon enough moojoo will become famous soon enough
Re: tabs with CSS

that or the css property #foo:first-letter etc etc.. so you can just style/target the first letter of any paragraph contained in #foo. Glad you got it sorted though.
__________________

moojoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 23rd, 2008, 12:17 AM   #4
New Member
 

Join Date: Jul 2004
Location: Olympic Penninsula WA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 capture is on a distinguished road
Re: tabs with CSS

If you want ALL your paragraphs to be indented add this to your stylesheet:
Code:
p
{
margin:5px 30px;
text-align:left;
text-indent:20px;
}
Sometimes I don't want a paragraph to indent so I create this class:
Code:
p.noindent
{text-indent:0;}
html would be;
HTML Code:
<p class="noindent">
Hope this is helpful.

To your Health, Wealth and Success
ClaireP

Last edited by Aso; March 23rd, 2008 at 09:08 AM..
capture is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
tabs , text-indent


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
staggered tabs in IE7 WebMachine Your Design and Layout 4 October 1st, 2007 07:21 AM
jquery tabs prob karloff JavaScript 0 July 4th, 2007 06:21 PM
Tabs on my webpage pengyou Your Design and Layout 5 May 23rd, 2007 05:52 PM
CSS tabs titaniumbean HTML, XHTML and CSS 5 August 18th, 2005 06:50 AM
[SOLVED] Disable Button while using Tabs Anonymous User JavaScript 1 September 14th, 2004 06:12 AM


Search Engine Optimization by vBSEO 3.2.0 RC8