You are not logged in.

#1 06 Dec 2008 9:22

Frenzie
Loco Lowter Member
From: Antwerp, Belgium
Registered: 25 Jan 2005
Posts: 3874
Message  Website

Padding in Textareas

I recently realized that you can use it to have some not very transparent picture to the left, right, top or bottom of the area where you actually type for potentially fun design.


Intelligent alien life does exist, otherwise they would have contacted us.

Offline

 

#2 06 Dec 2008 9:53

Ethan
Lowter Staff
From: Minneapolis, MN
Registered: 20 Jan 2005
Posts: 6960
Message  Website

Re: Padding in Textareas

Interesting, do you have any examples that you've played aorund with?


Ethan, Managing Director of Lowter
Blog | American Swedish Institute | Save the Internet

Offline

 

#3 06 Dec 2008 13:53

Frenzie
Loco Lowter Member
From: Antwerp, Belgium
Registered: 25 Jan 2005
Posts: 3874
Message  Website

Re: Padding in Textareas

I do have an example, but it's based on copyright infringement. tongue (that is, the picture is a random Google Image result)


Intelligent alien life does exist, otherwise they would have contacted us.

Offline

 

#4 06 Dec 2008 15:15

Ethan
Lowter Staff
From: Minneapolis, MN
Registered: 20 Jan 2005
Posts: 6960
Message  Website

Re: Padding in Textareas

Is there any specific advantange than just having the image next to the textarea?  I guess maybe in some more creative examples, none of which I would ever make. tongue


Ethan, Managing Director of Lowter
Blog | American Swedish Institute | Save the Internet

Offline

 

#5 06 Dec 2008 17:54

Frenzie
Loco Lowter Member
From: Antwerp, Belgium
Registered: 25 Jan 2005
Posts: 3874
Message  Website

Re: Padding in Textareas

Well, it's a decoration explicitly inside rather than outside, so there's the minimalism. You don't have to have a fieldset or div around the textarea to achieve the effect. No real difference, but it makes the HTML more elegant. The fieldset elements in the code I used are aimed at achieving the same effect without explicitly involving the textarea itself. However I didn't stick 'em in for that purpose, but rather for the really nice stuff that presents itself if you combine it with generated content. So as a way to retain the same markup while potentially being really creative with CSS. It's just something I've never really thought about.


Intelligent alien life does exist, otherwise they would have contacted us.

Offline

 

#6 06 Dec 2008 20:44

Ethan
Lowter Staff
From: Minneapolis, MN
Registered: 20 Jan 2005
Posts: 6960
Message  Website

Re: Padding in Textareas

I usually include fieldsets because I think it provides more semantic clarity in the case of most forms, but I guess in the case of simple markup it is better.  It is a creative idea though.


Ethan, Managing Director of Lowter
Blog | American Swedish Institute | Save the Internet

Offline

 

#7 07 Dec 2008 10:59

lotrgamemast
Lowter Staff
From: England
Registered: 25 Jan 2005
Posts: 2484
Message  Website

Re: Padding in Textareas

I like the technique. Could be used to create some interesting looking stuff.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson