A bit of HTML help

Open discussion about any topic, as long as you abide by the rules of course!
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

>:E its not </br>
i started to doubt and checked w3s dtd and its <br /> (including space). theres no such thing as </ br>.

<br> is html 4 while <br /> is xhtml. its always cleaner to use <br /> regardless of html version though

[edit] oh i see you edited. well the last line of my post is still of some use to brisk :)
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

MKJ wrote:>:E its not </br>
i started to doubt and checked w3s dtd and its <br /> (including space). theres no such thing as </ br>.

<br> is html 4 while <br /> is xhtml. its always cleaner to use <br /> regardless of html version though
:icon26:
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

will you stop editing and replying so fast? lol :D
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

all my pages validate though :smirk:
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

MKJ wrote:will you stop editing and replying so fast? lol :D
:D
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

i get 404s on cinemasiafreaks.com :(
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

thats funny, on the index?
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

mmm , appears my host is down :)
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
brisk
Posts: 3801
Joined: Sun May 07, 2000 7:00 am

Post by brisk »

http://www.onefootinthegroove.net/test/index3.php

I hope thats a little better for you code nazi's :p

Thanks again for the help all.
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

brisk wrote:
I hope thats a little better for you code nazi's :p
lol, just trying to help m8 ;)

what good is it to teach if you aint gonna do it properly? :D
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
brisk
Posts: 3801
Joined: Sun May 07, 2000 7:00 am

Post by brisk »

Absolutely.
brisk
Posts: 3801
Joined: Sun May 07, 2000 7:00 am

Post by brisk »

Oh, and lest I forget:
brisk wrote:And another question:

I have a v small bg image which creates the interlace effect you see. However, I have a problem with normal images which aren't transparent and show this interlacing underneath (even if I use a transparent gif)

Is that something else which can be overcome?
dmmh
Posts: 2501
Joined: Thu Jan 04, 2001 8:00 am

Post by dmmh »

im a noob when it comes to imaging, even on the web

maybe MKJ can fill you in on this one :D
[i]And shepherds we shall be, for thee my Lord for thee, Power hath descended forth from thy hand, that our feet may swiftly carry out thy command, we shall flow a river forth to thee, and teeming with souls shall it ever be. In nomine patris, et fili, et spiritus sancti.[/i]
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

im not quite sure what you mean :confused:
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
brisk
Posts: 3801
Joined: Sun May 07, 2000 7:00 am

Post by brisk »

MKJ wrote:im not quite sure what you mean :confused:
I have a background image embeded into the HTML (which is about 2x3 pixels in size and used to create the interlace effect).

Now imagine I have a transparent gif which I will be using for that gradient to the left. I will want it to fade from gray into transparency.

However, when I use transparency in a GIF image, it isn't transparent (i'm guessing because of that damn bg image)

Hope this makes sense.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

gifs dont have translucency, only transparency. since an alpha gradient will go from opaque to transparect using different levels of translucency, the gif will just flatten all translucent 'steps' with the matte color (which is white in this case).

in other words, it wont work. a PNG would do the trick but guess what browser doesnt support PNG translucency...

the only way you are going to get this is by adding the scanlines to the gradient gif and then hope it matches up with the browser background (which it most likely wont since youre using a liquid page).
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

oh and you might want to use a bigger bgimage. the visual result will be the same but using a tiny bg image to fill up an entire page eats rendering time & memory. ofcourse theres also the case you go too big which will eat memory too :D make it 20x20 or summat, or even more horizontal to reduce tiling (300x20)
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
brisk
Posts: 3801
Joined: Sun May 07, 2000 7:00 am

Post by brisk »

MKJ wrote:gifs dont have translucency, only transparency. since an alpha gradient will go from opaque to transparect using different levels of translucency, the gif will just flatten all translucent 'steps' with the matte color (which is white in this case).

in other words, it wont work. a PNG would do the trick but guess what browser doesnt support PNG translucency...

the only way you are going to get this is by adding the scanlines to the gradient gif and then hope it matches up with the browser background (which it most likely wont since youre using a liquid page).
Ah yes, silly me. I think i'll just leave it - not really that noticable anyway.
Post Reply