I don't like xhtml
As of right now I think html is better than xhtml.
Proublem....
http://www.bja888.com
How am I supposed to have a Iframe that stretches verticaly? I love bja888.com because it would stretch and worked on any OS, any browser. Now I cant quite figure how to re-deign it in xhml.
You cant see the new version till its all finished .
Busy posted this at 11:02 — 14th September 2005.
He has: 6,151 posts
Joined: May 2001
XHTML is just HTML done properly (all closed tags and in lower case)
bja888.com has no DOC tag and has capital tags, are you trying to do it in strict or transitional ?
JeevesBond posted this at 12:05 — 14th September 2005.
He has: 3,956 posts
Joined: Jun 2002
Busy's right. This isn't xhtml: There's no DTD, and some of the tags are uppercase. You seem to be using tables for layout... But let's not have that argument again, well actually this would be fine if you're using a Transitional DTD
[edit]
And this isn't allowed if you use a strict DTD either:
target="_blank"
[/edit]
a Padded Cell our articles site!
Roo posted this at 15:38 — 14th September 2005.
She has: 840 posts
Joined: Apr 1999
No that isn't XHTML. To use an iframe you'd need to use XHTML transitional.
Reason to learn and use valid XHTML:
It won't let you make mistakes. Leave out one quote mark or one closing tag and watch what happens....it throws errors all over the page, and sometimes the page won't even display at all. Which is GOOD! It forces you to write good, clean, compliant code.
Roo
bja888 (not verified) posted this at 16:18 — 14th September 2005.
They have: 5,633 posts
Joined: Jan 1970
No that isn't the xhtml version online. The xhtml version in on my computer. It has simalar structure though. I nuderstand the rules of xhtml but dident know you can't use "_blank" any more.
From what I understand though... xhtml Isnt very friendly to hight values especially a %. I give it a 100% value and its 1px in IE and 200px in FireFox. Where as I want it to fill the page.
Megan posted this at 16:24 — 14th September 2005.
She has: 11,421 posts
Joined: Jun 1999
100% height doesn't make any sense anyway - 100% of what? Of the page or of the browser window?
I use "_blank" anyway sometimes. The people I work with have this thing with things opening in new windows Although the system we have now doesn't even have a doctype (outside of our control) so it doesn't matter as much.
Megan
Connect with us on Facebook!
bja888 (not verified) posted this at 16:51 — 14th September 2005.
They have: 5,633 posts
Joined: Jan 1970
Well, just like the current bja888.com the new one has no body content other than the Iframe. The menus are positioned. So I want it to be 100% of the window.
Busy posted this at 21:56 — 14th September 2005.
He has: 6,151 posts
Joined: May 2001
Why use an iframe at all?
why not use CSS and fix the side content
a height hack:
make a table 1000x1200 and place between body tags with all your content inside the table
now you can use height = 100% as it has something to go against, sadly your layout will look crap as it wont be browser friendly in dimensons.
Also if you use a fixed size table or sometimes div after that and then use a percentage width you may find the percentage is going off the fixed width rather than the orginal main table - reason why fixed and percentages should not be mixed.
bja888 (not verified) posted this at 02:19 — 15th September 2005.
They have: 5,633 posts
Joined: Jan 1970
well... I guess I will have to make the layout work page by page, do away with the whole Iframe idea Which means longer load time It would seem every little trick and technique I learned in html has been eliminated in xhtml. I like the new syntax rules but hate the poor positioning.
timjpriebe posted this at 12:26 — 15th September 2005.
He has: 2,667 posts
Joined: Dec 2004
How does an iframe mean shorter load time? It still has to load all the content within the iframe.
JeevesBond posted this at 13:18 — 15th September 2005.
He has: 3,956 posts
Joined: Jun 2002
I think his point is that the iframe page is loaded the first time it's requested then on subsequent pages the browser can use the sub-page from its cache.
If you use repeat content across pages the browser will alway have to download that page, including the repeated content again.
a Padded Cell our articles site!
bja888 (not verified) posted this at 14:22 — 15th September 2005.
They have: 5,633 posts
Joined: Jan 1970
Useing the current technique I load about 100 lines less on each page. Hey, its the internet every second counts.
Busy posted this at 23:25 — 15th September 2005.
He has: 6,151 posts
Joined: May 2001
For what it's worth your site loaded pretty fast for me and I'm on dialup, so adding a couple for milli-seconds wont hurt
bja888 (not verified) posted this at 02:30 — 16th September 2005.
They have: 5,633 posts
Joined: Jan 1970
Well I know that version loads well. It looks like crap too. The new one will be nice though!
demonhale posted this at 02:36 — 16th September 2005.
He has: 3,278 posts
Joined: May 2005
Dang Ive been working out on xhtml transitional, and its really quite difficult, ill be patient though...
Busy posted this at 11:11 — 16th September 2005.
He has: 6,151 posts
Joined: May 2001
XHTML transitional = basic tidy HTML
XHTML Strict = half selective HTML, half CSS *a decent strict site can not be done with (x)HTML alone*
bja888 (not verified) posted this at 12:11 — 16th September 2005.
They have: 5,633 posts
Joined: Jan 1970
I have 1/2 a mind to start my own Hyper Text Language.
HTPL
Hyper
Text
Postioning
Language
bja888 (not verified) posted this at 03:44 — 17th September 2005.
They have: 5,633 posts
Joined: Jan 1970
Yes you can make a website in xhml without the use of CSS but if you want to add color or font styles you need to.
JeevesBond posted this at 12:03 — 16th September 2005.
He has: 3,956 posts
Joined: Jun 2002
What does this mean exactly? That you have to use CSS (if so, I'm in agreement - just wanting to clarify)?
a Padded Cell our articles site!
Busy posted this at 22:40 — 16th September 2005.
He has: 6,151 posts
Joined: May 2001
Yes, as XHTML is not CSS. *should we tell anyone we actually agree?*
baldrick posted this at 18:28 — 16th September 2005.
He has: 388 posts
Joined: Apr 2005
You could but IE mould never support it
bja888 (not verified) posted this at 20:36 — 16th September 2005.
They have: 5,633 posts
Joined: Jan 1970
If I ever get time/money I will seroiusly consider it. My current desktop focus is on a better clipboard tool.
baldrick posted this at 20:49 — 16th September 2005.
He has: 388 posts
Joined: Apr 2005
You can alredy make your own markup language with xml i think.
Busy posted this at 11:18 — 17th September 2005.
He has: 6,151 posts
Joined: May 2001
Note I did say decent site
Renegade posted this at 02:11 — 18th September 2005.
He has: 3,022 posts
Joined: Oct 2002
Why reinvent the wheel? CSS positioning works just fine.
bja888 (not verified) posted this at 19:19 — 18th September 2005.
They have: 5,633 posts
Joined: Jan 1970
I do not agree. The biggest proublem I am haveing with css postioning is that you can define where an object should be relative to the parent object.
Absoulte postioning starts at the top right conrner of the screen and relative postioning just moves it from where it would normally be.
There should also be a way to align one object to the left and the other one to the right in the same parent object.
I'm sure I can think of more, that's just for starters.
JeevesBond posted this at 16:22 — 18th September 2005.
He has: 3,956 posts
Joined: Jun 2002
LOL - definately not!
I second that motion Renegade.
chrishirst posted this at 21:09 — 18th September 2005.
He has: 379 posts
Joined: Apr 2005
What more do you need ? Static leaves the element in the normal flow, Relative will move the element relative to the parent and absolute is out of the flow and exactly where you specify. Unless you want an absolutely positioned element that is relative to other elements, which would be a contradiction in terms.
Actually absolute is the top left corner of the browser viewport
There is.
float: left|right|none W3Schools
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
bja888 (not verified) posted this at 17:26 — 19th September 2005.
They have: 5,633 posts
Joined: Jan 1970
Relative moves the element from where is would normally appear.
Thank you, I diden't notice I put right insted of left.
I still yet to understand/use float but I know it wont help form everything I've read.
I'll have some samples of what I am talking about shortly.
demonhale posted this at 03:20 — 19th September 2005.
He has: 3,278 posts
Joined: May 2005
Right On Chris!
Renegade posted this at 07:03 — 19th September 2005.
He has: 3,022 posts
Joined: Oct 2002
Correct me if I'm wrong but, isn't absolute positioning, absolute to it's parent?
demonhale posted this at 11:54 — 19th September 2005.
He has: 3,278 posts
Joined: May 2005
If it is contained in a parent div, if not absolute with resprect to the page...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.