View Full Version : A few questions about a site im building.
Erich
12-07-2004, 09:58 PM
Sorry for the vague title, I thought it better than starting multiple threads. the index and css are attatched as txt files, with the content removed for space.
1> its a simple-as-possible 2 column layout with a header / footer. Is how I have it set up the best way to approach it, or is there a more proper or easier way to do it?
2> The <l> element hasnt been implimented as of yet. If I want to post poetry or lyrics, is it semanticly acceptable to just enclose the full work in <pre> tags? I dont wish to add <br /> to every line, and <p> just seems wrong.
3> is xmlbase able to be used on an xhtml document? it would make certain menus easier to work with, but I tinkered with it quickly and it didnt do what I expected. maybe i implimented it wrong, for all I know.
ronaldb66
12-08-2004, 07:59 AM
Hi Erich,
Right side menu in the normal flow, main content floated left; I guess it's one of many ways it could be done, and this one has it's merits.
I'd say: go for it. You may have to clear the footer to prevent the main content overrunning it (I can't remember seeing a clear in your style sheet).
Enclosing each line in a paragraph does sound wrong; I don't see what you have against line breaks, though. Preformatting the lot would work as well and is semantically acceptable, but won't win any prices for elegance.
XHTML is not XML, so no, I really don't think you can use XML base. You could use the HTML base element though, but up 'till now I haven't experienced a need for it.
Erich
12-09-2004, 03:15 AM
Hi Erich,
Right side menu in the normal flow, main content floated left; I guess it's one of many ways it could be done, and this one has it's merits.
I'd say: go for it. You may have to clear the footer to prevent the main content overrunning it (I can't remember seeing a clear in your style sheet).
Enclosing each line in a paragraph does sound wrong; I don't see what you have against line breaks, though. Preformatting the lot would work as well and is semantically acceptable, but won't win any prices for elegance.
XHTML is not XML, so no, I really don't think you can use XML base. You could use the HTML base element though, but up 'till now I haven't experienced a need for it.
thanks for the response!
1> Yup, footer is cleared. thanks!
2> Well, for poetry thats created in a certain format, preformating is the best thing until <l> is implimented. I just didnt know how semantic it was.
3> XHTML isnt XML, per se, but is an XML language. Thats why its compatible with other XML languages, such as SVG and XForms, correct? So, shouldnt XML related things be usable, or am I off base here?
I guess i'll try html base instead, though, may work anyway.
hemebond
12-09-2004, 03:36 AM
I don't see anything wrong with using p tags around verses. And br elements are the same as l elements.
Erich
12-09-2004, 04:47 AM
And br elements are the same as l elements.
All the br element does is add a carriage return. It cant be used with css, and it doesnt represent anything, while l represents a line of text and can be used easily with css. I think its totaly different, albeit used for the same purpose.
tsguitar2004
12-09-2004, 05:29 AM
And why can't <br /> be used with CSS?
-ts
Erich
12-09-2004, 06:11 AM
And why can't <br /> be used with CSS?
-ts
Im sorry, I should have been more specific. I was refering to the fact that you cant go:
br {
padding-left: 10px;
color: #eee;
}
or <br class="indent" />
while you can do that with <l>. Unless, im completely wrong, in which id love to be shown.
hemebond
12-09-2004, 06:21 AM
I always thought the l element was an empty element used in the same way as the br element. No?
Erich
12-09-2004, 06:40 AM
I always thought the l element was an empty element used in the same way as the br element. No?
nope. <l> should be implimented with xhtml2. It wraps whatever line, and serves to break and start a new line for every pair.
l+l {
padding-left: 25px;
}
<l>I think that I shall never see</l>
<l>A poem as lovely as a tree</l>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.