HighDots Forums  

"Skinning" html elements

alt.html alt.html


Discuss "Skinning" html elements in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nik Coughlin
 
Posts: n/a

Default "Skinning" html elements - 05-14-2008 , 12:00 AM






Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/

They list different ways to "skin" an HTML element (ie add rounded corners,
drop shadows, various other graphical effects) using images while still
allowing for viewport and text re-sizing.

Anyone know of any other techniques that I've missed?

Any other comments?


Reply With Quote
  #2  
Old   
Blinky the Shark
 
Posts: n/a

Default Re: "Skinning" html elements - 05-14-2008 , 12:05 AM






Nik Coughlin wrote:

Quote:
Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/

They list different ways to "skin" an HTML element (ie add rounded corners,
drop shadows, various other graphical effects) using images while still
allowing for viewport and text re-sizing.

Anyone know of any other techniques that I've missed?
I've skinned squirrels. I suppose that's no help.

--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
NEW --> Now evaluating a GG-free news feed: http://usenet4all.se



Reply With Quote
  #3  
Old   
Nik Coughlin
 
Posts: n/a

Default Re: "Skinning" html elements - 05-14-2008 , 12:20 AM



"Blinky the Shark" <no.spam (AT) box (DOT) invalid> wrote

Quote:
Nik Coughlin wrote:

Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/

They list different ways to "skin" an HTML element (ie add rounded
corners,
drop shadows, various other graphical effects) using images while still
allowing for viewport and text re-sizing.

Anyone know of any other techniques that I've missed?

I've skinned squirrels. I suppose that's no help.
Depends, would your technique pass the W3 validation suite? Does it work in
most browsers? :P



Reply With Quote
  #4  
Old   
Blinky the Shark
 
Posts: n/a

Default Re: "Skinning" html elements - 05-14-2008 , 12:39 AM



Nik Coughlin wrote:

Quote:
"Blinky the Shark" <no.spam (AT) box (DOT) invalid> wrote in message
newsan.2008.05.14.05.05.45.856303 (AT) thurston (DOT) blinkynet.net...
Nik Coughlin wrote:

Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/

They list different ways to "skin" an HTML element (ie add rounded
corners,
drop shadows, various other graphical effects) using images while still
allowing for viewport and text re-sizing.

Anyone know of any other techniques that I've missed?

I've skinned squirrels. I suppose that's no help.

Depends, would your technique pass the W3 validation suite? Does it work in
most browsers? :P
No, but it can lead directly to dinner.


--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
NEW --> Now evaluating a GG-free news feed: http://usenet4all.se



Reply With Quote
  #5  
Old   
Dave Kelly
 
Posts: n/a

Default Re: "Skinning" html elements - 05-16-2008 , 10:33 PM



On May 14, 12:05 am, Blinky the Shark <no.s... (AT) box (DOT) invalid> wrote:
Quote:
Anyone know of any other techniques that I've missed?

I've skinned squirrels. I suppose that's no help.
Here in Texas we have possums ( a flat animal that sleeps in the
middle of the road ). They are too thin to skin so we fillet them.


Reply With Quote
  #6  
Old   
Gus Richter
 
Posts: n/a

Default Re: "Skinning" html elements - 05-16-2008 , 11:18 PM



Dave Kelly wrote:
Quote:
On May 14, 12:05 am, Blinky the Shark <no.s... (AT) box (DOT) invalid> wrote:
Anyone know of any other techniques that I've missed?
I've skinned squirrels. I suppose that's no help.

Here in Texas we have possums ( a flat animal that sleeps in the
middle of the road ). They are too thin to skin so we fillet them.
Thanks for the laugh.

--
Gus


Reply With Quote
  #7  
Old   
Jeff
 
Posts: n/a

Default Re: "Skinning" html elements - 05-20-2008 , 10:22 PM



Nik Coughlin wrote:
Quote:
Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/
In my opinion only variations of the nesting are in practice, practical.
At least for modern layouts.

I'm not at this time reading alt.html, do you have a pointer for that
post so I can look it up.

I had been working on a "Standard Module Format", whereas the same
"block" could be styled as you wish.

It's not that different than yours:

<div class="skinContainer flat">
<div class="topLeft">
<div class="topRight">
<div class="top"></div>
</div>
</div>
<div class="left">
<div class="right">
<p>nesting technique</p>
</div>
</div>
<div class="bottomLeft">
<div class="bottomRight">
<div class="bottom"></div>
</div>
</div>
</div>

Except I've added an inner wrapper to do the drop shadows, and/or
top/bottom double backgrounds. (I also didn't do the topLeft and
bottomLeft wrappers, but I like that idea.)

I see you can do that (drop shadow) with your left/right classes if
you turn off (not use) the rest. Dropping a shadow on all of it would be
difficult, unless I've missed something.

Also, I wonder if the top container block couldn't be a heading,
since content placed there typically is a heading. You could still have
the nested div inside for corner effects...

Let us (or at least myself) know how this has been working out for you!

I'd like to see more.

Jeff

Quote:
They list different ways to "skin" an HTML element (ie add rounded
corners, drop shadows, various other graphical effects) using images
while still allowing for viewport and text re-sizing.

Anyone know of any other techniques that I've missed?

Any other comments?

Reply With Quote
  #8  
Old   
Nik Coughlin
 
Posts: n/a

Default Re: "Skinning" html elements - 05-20-2008 , 10:57 PM



"Jeff" <jeff (AT) spam_me_not (DOT) com> wrote

Quote:
Nik Coughlin wrote:
Further to my earlier post in alt.html, I ended up preparing these pages:

http://nrkn.com/skinning/

In my opinion only variations of the nesting are in practice, practical.
At least for modern layouts.
Hi Jeff,

Yes, I think in many ways it's the tidiest of the methods but I've also been
using the positioning technique because of not being able to do alpha
transparency in IE6 using the nesting technique (because the alpha image
filter doesn't have any way to position background images etc)

Quote:
I'm not at this time reading alt.html, do you have a pointer for that post
so I can look it up.
http://groups.google.com/group/alt.h...4564297ccd195b

Quote:
I had been working on a "Standard Module Format", whereas the same "block"
could be styled as you wish.

It's not that different than yours:

div class="skinContainer flat"
div class="topLeft"
div class="topRight"
div class="top"></div
/div
/div
div class="left"
div class="right"
p>nesting technique</p
/div
/div
div class="bottomLeft"
div class="bottomRight"
div class="bottom"></div
/div
/div
/div

Except I've added an inner wrapper to do the drop shadows, and/or
top/bottom double backgrounds. (I also didn't do the topLeft and
bottomLeft wrappers, but I like that idea.)
I don't quite get what you mean Do you have an url I could have a look
at?

Quote:
I see you can do that (drop shadow) with your left/right classes if you
turn off (not use) the rest. Dropping a shadow on all of it would be
difficult, unless I've missed something.
I combine everything together so that the drop shadow is part of the box, do
you mean adding drop shadow seperately to the box images?





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.