0
Welcome Guest! Login
0 items Join Now

<div> elements not centered under body Fresco template

    • edt007's Avatar
    • edt007
    • Rocketeer
    • Posts: 55
    • Thanks: 0

    <div> elements not centered under body Fresco template

    Posted 11 years 11 months ago
    • Hi,

      I got an issue thats bothering me. Not sure if its a CSS thing or related to Fresco template.
      I have 4 boxes with below code placed horizontally right under my body text, yet my 4 boxes are not centered under the Fresco body text. I cannot figure out why?

      .box1 {width: 24%; height: 300px; border-radius: 5%; -moz-border-radius: 5%; -webkit-border-radius: 5%; background-color: #f7cbcb; float: left; font-weight: normal; border: 1.5px solid white; padding: 10px 0 10px 0;}

      Above code times 4 for 4 boxes in total. I really like them lined up together centrally under my body content. Please help. Thanks a bunch.
    • Last Edit: 11 years 11 months ago by edt007.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: <div> elements not centered under body Fresco template

    Posted 11 years 11 months ago
    • Hi there,

      Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.

      Can you please post a link to the problem and we will do our best to assist you.

      Thanks :)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • edt007's Avatar
    • edt007
    • Rocketeer
    • Posts: 55
    • Thanks: 0

    Re: <div> elements not centered under body Fresco template

    Posted 11 years 11 months ago
    • Hi Dave,

      Already got it solved myself. Thanks anyway.

Time to create page: 0.057 seconds