Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Just a quick question about a part of my CSS

Just a quick question about a part of my CSS

Locked

Views: 907

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Aug 2008, 11:44 PM
#1
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Just a quick question about a part of my CSS

Can you tell me what this is for:

FORM, SELECT, INPUT {
	display: inline;
	font-size: 1em;
	margin: 0.1em;
	}

And what would happen if I removed this part:

	display: inline;

The reason I ask, is that I installed a Wishlist mod, and removing this line is the only thing that aligns the "compact view" option of the mod properly in both Firefox and IE.

15 Aug 2008, 5:05 PM
#2
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Just a quick question about a part of my CSS

Anyone?

I've removed it from my CSS, and I don't see any changes/differences.

15 Aug 2008, 5:24 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Just a quick question about a part of my CSS

Should be OK. Check anywhere you have form elements, including the login/create account pages and Contact Us.

15 Aug 2008, 5:59 PM
#4
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Just a quick question about a part of my CSS

Yes, all my form elements seem ok (I don't notice any difference and they work just fine).

Can you tell me exactly what that line does for them?

15 Aug 2008, 6:32 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Just a quick question about a part of my CSS

It ensures that the elements are displayed, well, in a line, without line breaks, as long as there's room.

**display:block **includes a line break before and after the element.

15 Aug 2008, 7:02 PM
#6
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Just a quick question about a part of my CSS

Ok, so it has nothing to do with what they type in the form itself, just what the form looks like, right?