ecross
02-21-2004, 09:42 PM
I'm creating a webpage and thinking on using the <blockquote> tag for the page I'm designing. Any altertatives or better solutions before I attempt to use it?
|
Click to See Complete Forum and Search --> : Using Blockquote ecross 02-21-2004, 09:42 PM I'm creating a webpage and thinking on using the <blockquote> tag for the page I'm designing. Any altertatives or better solutions before I attempt to use it? PeOfEo 02-21-2004, 09:43 PM Originally posted by ecross I'm creating a webpage and thinking on using the <blockquote> tag for the page I'm designing. Any altertatives or better solutions before I attempt to use it? I prefer to use css padding. <element style="padding-left:5px; padding-right:5px;">text</element> Paul Jr 02-21-2004, 09:44 PM Originally posted by ecross I'm creating a webpage and thinking on using the <blockquote> tag for the page I'm designing. Any altertatives or better solutions before I attempt to use it? Nope. That is, if you are using it correctly. If you are just using it to indent text, then yes. You could use a styled <div>, or <p> tag. ecross 02-21-2004, 10:04 PM Yes, I'm just indenting text. Thanks. Does the CSS style work for most browsers and does that code you posted PeOfEo return the same results? What about the blockquote? PeOfEo 02-21-2004, 10:07 PM Originally posted by ecross Yes, I'm just indenting text. Thanks. Does the CSS style work for most browsers and does that code you posted PeOfEo return the same results? What about the blockquote? It is going to work on all of the major browsers, and on the older ones the text will just not be indented (rly old). Content is still accessable. Using css will give you more control over how far the text gets indented, so I would say its the better option. ecross 02-21-2004, 10:07 PM Thank you! :D ecross 02-21-2004, 10:14 PM Wait... It doesn't work for me. Here's what I got inside the <body> tags. <p> <element style="padding-left:5px; padding-right:5px;"> <font color="#FF0000" size="3"> Text Text Text Text.</font> </element> </p> Using Internet Explorer 6. Jeff Mott 02-21-2004, 10:28 PM That's because there is no such element called ELEMENT, and so the browser ignores it. Simply put the style definition in with the P element. fredmv 02-21-2004, 10:56 PM You can, however, create your own elements and apply CSS rules to them. Of course, you'd need to create some kind of custom DOCTYPE or apply them to an already existing DOCTYPE if you wanted them to validate correctly. See this thread (http://forums.webdeveloper.com/showthread.php?s=&threadid=26446) for an example of styling custom elements. PeOfEo 02-21-2004, 11:47 PM Originally posted by ecross Wait... It doesn't work for me. Here's what I got inside the <body> tags. <p> <element style="padding-left:5px; padding-right:5px;"> <font color="#FF0000" size="3"> Text Text Text Text.</font> </element> </p> Using Internet Explorer 6. I was using element because you can stick this code inside of a <td>, <div>, <p> and <span>, its just what I put in for misc element. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |