Hi
I am having a go at a design for my front page .
The html will be on a fragment and I am adding the css to my current style sheet in Sellerdeck 2013.
I am using Dreamweaver CC.
I have the following css which is for a "ul" of 3 "li" images with links to anchor points in my T&C's
The code is
My problem is - my "ul" will not sit inside the div "infobanners"
I would like it to be centred inside it.
I have attached a shot of my dreamweaver page - the blue border is the div
Many thanks for any help
I am having a go at a design for my front page .
The html will be on a fragment and I am adding the css to my current style sheet in Sellerdeck 2013.
I am using Dreamweaver CC.
I have the following css which is for a "ul" of 3 "li" images with links to anchor points in my T&C's
The code is
Code:
.infobanners { width: 650px; height: 50px; padding: 0; border: 0; margin-bottom: 0px; } .infobanners ul { list-style: none; padding: 0; position: static; top: 0px; } .infobanners ul li { width: 215px; height: 50px; display: inline; float: left; border-top-left-radius: 8px; -moz-border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; top: 0px; } .infobanners ul li a { border: 0; float: left; width: 215px; height: 50px; } .infobanners ul li a img { width: 215px; height: 50px; border: 0; float: left; border-top-right-radius: 20px; -moz-border-top-right-radius: 20px; -webkit-border-top-right-radius: 20px; border-top-left-radius: 20px; -moz-border-top-left-radius: 20px; -webkit-border-top-left-radius: 20px; }
I would like it to be centred inside it.
I have attached a shot of my dreamweaver page - the blue border is the div
Many thanks for any help
Comment