Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Help with basic <UL><LI></LI></UL> formatting
 
wsj3
Guru
 
Avatar
Total Posts:  521
Joined:  2008-07-13
Portland, OR
 

Hello, I’m having trouble with this basic HTML formatting in my right_col.phtml

<UL class="list"><li><a href="http://www.growmake.com/joomla/">Growmake Blog</a></li><li><a href="http://www.growmake.com/joomla/">Sustainability News</a></li><li><a href="http://www.growmake.com/joomla/">Growmake Community</a></li><li><a href="http://www.growmake.com/joomla/">RSS Feeds</a></li><li><a href="http://www.growmake.com/joomla/">What’s New</a></li><li><a href="http://www.freecycle.org">Freecycle - Local Recycling</a></li></UL>

The <UL> and <LI> formatting are stripped out. Any help would be great.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

I don’t think you can use capital. XML and XHTML are case sensitive. Try <ul>.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

I don’t think you can use capital. XML and XHTML are case sensitive. Try <ul>.

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  521
Joined:  2008-07-13
Portland, OR
 

Case does not seem to be the problem. I tried changing the case. Any other ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nikefido
Guru
 
Avatar
Total Posts:  481
Joined:  2008-07-11
New Haven, CT
 

using lower case is better practice and technically complient with xHTML standards (despite it not really mattering all too much)

What do you mean by its “stripped out” ??

Are you familiar with CSS specificity ? Might be an issue with that…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Reino
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2008-06-22
Utrecht, The Netherlands
 

I think he means that it is not shown correctly.
Because the UL of LI is defined in the CSS and for the RIGHT col somewhere.
Give the UL a classname like <ul class="mynewclass">.
Define the class in your template (boxes.css) to give it the properties your want.
Or show us the problem by posting the url or screenshot.

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsj3
Guru
 
Avatar
Total Posts:  521
Joined:  2008-07-13
Portland, OR
 

You can see this by going to http://www.growmake.com and viewing the column on the left side. All <li> are left hand flush.

I’m not familiar with how a CSS would override the <ul> and <li> properties. I just looked through the boxes.css and didn’t see anything which defined an override for the <ul> or <li> but it could be that I’m not seeing the right thing.

My understanding is that in standard html the <ul> and <li> indent all <li> in the list and place a disc in front of each. This is what I would like.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michal_s
Sr. Member
 
Total Posts:  111
Joined:  2008-05-15
The Netherlands
 

why would you even bother with a complex system like magento if you dont even know basic html, get a developer and stay in you own business lane.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top