Beste mensen.
Ik ben bezig met een website en wil mijn ul over de hele breedte van mijn div krijgen. in FF doet hij dat allemaal heel erg goed maar in IE7 niet. Ik heb al lopen zoeken op google en hier. het is een simpele UL geen anchors erin ofzo.
mijn code is nu zo
wat ik dus wil is dat de ul in IE7 over de hele breedte van die maincontent loopt. als er anchors instaan is het geen probleem dan is het makkelijk maar zonder werkt niet.
Ik ben bezig met een website en wil mijn ul over de hele breedte van mijn div krijgen. in FF doet hij dat allemaal heel erg goed maar in IE7 niet. Ik heb al lopen zoeken op google en hier. het is een simpele UL geen anchors erin ofzo.
mijn code is nu zo
HTML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| <div class="main_content"> <div class="header_content"></div> <p class="yellow">CTM’s close relationship with carefully selected brokerage firms stands for a discrete and balanced portfolio setup for individuals</p> <h1>services</h1> <hr class="gray" /> <h2>Private Foundations and Trusts</h2> <p>Private Foundations and Trust often serve as ideal solutions to a range of complex personal and corporate situations due to their devolved ownership, flexible construction and confidentiality benefits. </p> <p>From tax and estate planning for private clients to ultimate beneficiary’s identity solutions in more vulnerable holding structures and formation and management of both, CTM’s experience and know-how in this field is the key for success for our clients in achieving their goals, from tax efficiency to asset protection.</p> <p>Each client’s specific requirement is held against the blue print of all feasible formation and management options, including:</p> <ul> <li>Various forms of Trusts in different jurisdictions</li> <li>Private Foundations in different jurisdictions</li> </ul> <p>Personal and corporate efficiency demands are often covered by the many solutions Private Foundations and Trusts have to offer, such as:</p> <ul> <li>Asset Protection</li> <li>Succession Planning</li> <li>Creditor Protection</li> <li>Confidentiality</li> <li>Tax Planning</li> </ul> </div> |
Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| div.main_content ul { margin: 0px; padding: 0px; list-style-type: none; margin-bottom: 15px; display:block; width: 100%; } div.main_content li { padding-left: 36px; margin-bottom: 1px; height: 20px; line-height: 20px; background: #f9ef91 url('../images/layout/vert_line.jpg') no-repeat 20px top; display:block; } |
wat ik dus wil is dat de ul in IE7 over de hele breedte van die maincontent loopt. als er anchors instaan is het geen probleem dan is het makkelijk maar zonder werkt niet.