The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
In the list of deprication, tags such as font, alink, vlink, body, margin, table cell background images and colours etc are being phased out in favour of CSS.
Here's my little ditty for starters:
1. a:link
Most of you should be aware of a:link, a:hover and a:visited in CSS, but CSS also allows you to have multiple styles on links for example:
a.menu, a.menu:visited and a.menu:hover can also exist with the usual link declarations in CSS, all you have to do is associate the class with the so fo examle gain: xx will allow you to render this link in line with a.menu instead of a:link. (hope that made sense)
2. The evil
In NS4+ the is treated as a block element and renders anything contained in a span as a
pushing it onto another line. to cure this, in you CSS file place:
.span{display:inline}
This will allow you to use the in your formatting and avoid the NS4 bug of redering as a
3. margin
This has never been a supported element in any of the HTML DTD's, but most of you may have noticed that DW uses this in your
.body{margin:0,0,0,0}
I have more, but wanted to get the ball rolling and see if any of you knew of any other little tips n trick of CSS?
> Gah, damn W3C, I want to be able to say that my CSS and my HTML are
> W3C Validated, but the HTML validator doesn't recognise my
>
> add them it looks stupid, anyone ways around the problem and wise and
> all knowing Tyla man?
ok, to get around the css one, simply set:
background-color: transparent;
easy, innit! btw, just so y'all know, here's a little tip for iframes... the normal syntax for iframes is:
however, u can do the following:
just to get around ur compatibility issues...
That's valid CSS, right?
> cheers for that, i've been wanting to find out more on CSS.
> It's a great tool to have and websites look so much better for it!
On good app for CSS is TopStyle Lite (comes with HomeSite) It gives you WYSIWYG CSS editing and covers all CSS1, 2, 3 and debugs for target browsers.
It's a great tool to have and websites look so much better for it!
In the list of deprication, tags such as font, alink, vlink, body, margin, table cell background images and colours etc are being phased out in favour of CSS.
Here's my little ditty for starters:
1. a:link
Most of you should be aware of a:link, a:hover and a:visited in CSS, but CSS also allows you to have multiple styles on links for example:
a.menu, a.menu:visited and a.menu:hover can also exist with the usual link declarations in CSS, all you have to do is associate the class with the so fo examle gain: xx will allow you to render this link in line with a.menu instead of a:link. (hope that made sense)
2. The evil
In NS4+ the is treated as a block element and renders anything contained in a span as a
pushing it onto another line. to cure this, in you CSS file place:
.span{display:inline}
This will allow you to use the in your formatting and avoid the NS4 bug of redering as a
3. margin
This has never been a supported element in any of the HTML DTD's, but most of you may have noticed that DW uses this in your
.body{margin:0,0,0,0}
I have more, but wanted to get the ball rolling and see if any of you knew of any other little tips n trick of CSS?