layout basics

Locked

Views: 3,499

Results 21 to 23 of 23
This thread is locked. New replies are disabled.
23 Feb 2007, 3:27 AM
#21
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

layout basics

... life would be much easier if you just move the code in the template around instead of taking days to figure out the CSS

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Feb 2007, 3:46 AM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: layout basics

In the Web Developer toolbar, under Tools there are buttons to validate things including CSS and HTML. As I posted earlier, the Information > Display element info button will do this, as will several other buttons. Look at them all and play around to see what they do.

The best way to edit code and avoid errors is to use a good programming text editor. I like Notepad++ (available free from Sourceforge); it displays different kinds of elements in different colors, and highlights many kinds of errors for you. You can have a half dozen files open at the same time and work back & forth.
Since you are working locally, as soon as you save an edit you can refresh your storefront screen and see the effect.

23 Feb 2007, 4:09 AM
#23
mex avatar

mex

Zen Follower

Join Date:
Feb 2007
Posts:
176
Plugin Contributions:
0

Re: layout basics

ok that works thanks again,
There are many id's around and i take it you just edit the specific 1 and not the wrapper . The nested id setup can confuse what to edit.

If you just change the code in the template around tpl_header.php I am just moving things around with the same information, and not really seeing how that is supposed to add new text,img and style. I don't understand what you mean by that in the complicated php code?