Page 1 of 1

css and div issues

PostPosted: Sat Dec 07, 2013 3:57 pm
by powerstream
I am trying to make my Shopsite pages look like the rest of my website.

My website is based on CSS and Div position definitions. I created a custom template
that has all this format, just like the original website.

However, adding the tags
[-- DEFINE PAGE --] and [-- END_DEFINE PAGE --] to the document wipes out all
the position formatting of the Div's and all the Divs merge at the top left corner
of the page.

help!

thanks
mark

Re: css and div issues

PostPosted: Sun Dec 08, 2013 8:56 am
by Jim
ShopSite templates use the # character as the first of the line to indicate a comment.
Some css classes are defined with a #. So if your css has # characters as the first character of the line that essentially comments out the class and would lead to missing formatting on the html page.

So check your css and add a space in front of any line that has a # as the very first character. (unless you want that commented out.)

Re: css and div issues

PostPosted: Mon Dec 09, 2013 10:08 pm
by powerstream
That's it! Now to forge ahead, thanks
mark

Re: css and div issues

PostPosted: Wed Dec 11, 2013 9:44 am
by powerstream
Actually, this idea didn't work. I even put /**/ in front of each # (/**/ is the CSS comment tag) and
the divs are still congregating at the top left of the screen. Any more ideas?

best regards
mark

Re: css and div issues

PostPosted: Wed Dec 11, 2013 10:22 am
by Jim
A link to the page with the problem would be helpful so we can see what is actually in the html source. But we would also need to see the template to see what may be missing. As the template could be large you could email or PM a copy of your template to me so that I can see what is actually in the template.

Re: css and div issues

PostPosted: Wed Dec 11, 2013 5:30 pm
by powerstream
I got all the directories straight, and it is now working, thanks!