Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Blockquote auto width
Old 12-01-2008, 04:30 PM Blockquote auto width
Registered User

Posts: 78
Name: Joseph
Location: Texas
Trades: 0
my css for blockquote has the with of it set to auto so if I blockquote a small sentence like:

Contact under construction

or something the blockquote should cange its width to fit snuggly against the words depending on the amount of padding used.

But its not doing that.

Any help?

I realize i could just use a div section that looks the same but when i add new content i want to be able to use blockquote not < div id="blah"> < /div >
josephcohen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-02-2008, 04:18 PM Re: Blockquote auto width
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
A blockquote is used at the name implies - to block QUOTES, or similar text where you want the formatting to be unchanged. It is not appropriate to replace a div with a blockquote for an entire site's content.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-02-2008, 05:56 PM Re: Blockquote auto width
Registered User

Posts: 78
Name: Joseph
Location: Texas
Trades: 0
I meant replace blockquote with div. And its not a sites content.

Just a sentence or 2 on a page.
josephcohen is offline
Reply With Quote
View Public Profile
 
Old 12-03-2008, 11:25 AM Re: Blockquote auto width
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
There's no reason to set the width to auto anyway. Without a defined width the width will only be as wide as it needs to be... plus your padding.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Blockquote auto width
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19278 seconds with 12 queries