Keyword

Unable to create a list inside an extra field

  • allydawn
  • allydawn's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #89908 by allydawn
Hello.I've got a problem with Extra Fields (simple text field )I need the structure inside the fields to be like this:- line 1- line 2- line 3And so far i keep getting it like this - line 1 - line 2 - line 3I've tried <br>, <p>, <li> - nothing helpsDoes anyone knows the solution? Thanks.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #89909 by troponin
Replied by troponin on topic Unable to create a list inside an extra field
you should set a float in your css for the Extra Field

Please Log in or Create an account to join the conversation.

  • allydawn
  • allydawn's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #89910 by allydawn
Replied by allydawn on topic Unable to create a list inside an extra field
What kind of float? I've never used floats for creating lists...Where should I make changes?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
14 years 1 month ago #89911 by Yiota
If you are using the k2.css then there. Else to your template CSS file.
You could also try a display:block because the extrafields are spans.

Please Log in or Create an account to join the conversation.

  • allydawn
  • allydawn's Avatar Topic Author
  • Offline
  • New Member
More
14 years 1 month ago #89912 by allydawn
Replied by allydawn on topic Unable to create a list inside an extra field
Nothing helps... I dont know how to do it :(
Here's my FIeld:




Here's my piese of code from k2.css

div.itemExtraFields {clear: none; margin:0 0 20px;padding:0;}
div.itemExtraFields h3 {margin:0 0 2px;padding:8px 16px;line-height:normal !important; font-size:100%;background: #fbfbfb; border:1px solid #e5e5e5; border-bottom: none;}
div.itemExtraFields ul {margin:0;padding:24px 16px;list-style:none;background: #fbfbfb;border:1px solid #e5e5e5;}
div.itemExtraFields ul li {display:block;}
div.itemExtraFields ul li span.itemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}
div.itemExtraFields ul li span.itemExtraFieldsValue {display:block; margin-left: 30%}

if anyone knows...please help

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum