Results 1 to 10 of 10

Thread: CSS 3 Rounded Corner Pushing

  1. #1
    Join Date
    Oct 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS 3 Rounded Corner Pushing

    I am having two issues:

    1) After adding my rounded corners CSS elements it for some reason is pushing the HTML elements down. How can I fix this?

    NOTE: layout.css is for HTML positioning & size. | style.css is for color, images, and design.

    2) My CSS tag .table-footer will not do anything when I add a color or image to it. It just shows blank.

    See issues here: http://zanime.net/list/

    Layout CSS: http://zanime.net/list/css/layout.css
    Style CSS: http://zanime.net/list/css/style.css

    Thanks in advanced.

    ~Kage
    Last edited by Kage Kazumi; 10-13-2012 at 09:57 AM.

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    In what way are the elements being pushed down, which elements specifically are being moved, and how is it meant to look? The css rounded corners property should not effect the position of the divs within the table, as it only changes the appearance of the corners. I notice one problem is the alignment which is covered in this thread, is this to do with your question about pushing elements down?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Oct 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bernie1227 View Post
    In what way are the elements being pushed down, which elements specifically are being moved, and how is it meant to look? The css rounded corners property should not effect the position of the divs within the table, as it only changes the appearance of the corners. I notice one problem is the alignment which is covered in this thread, is this to do with your question about pushing elements down?
    1) No the Aligning Elements was solved and then I started to do more stuff to it.

    2) You can clearly see what elements are being moved as you should not see the dark green. The text "Software Name" & "Operating System + Icons" should be higher and the dark green should not be seen.

    3) Well it did when I added it to the CSS. However, I do not know why.

    HTML (SEE above for CSS)

    HTML Code:
    <div id="table">
           <div class="table-title">
              <p class="title-wrapper">
                 <span class="title-text">Software Name</span>
                 <span class="os-icons">
                    <strong>Operating System</strong>:
                    <img class="windows" src="images/windows-logo-icon.png" />
                    <img class="mac" src="images/mac-logo-icon.png" />
                    <img class="linux" src="images/linux-logo-icon.png" />
                 </span>    
              </p>
           </div>
           <div class="table-description">
                 <p class="description-thumb">
                    <img src="images/sample-image.jpg" />
                 </p>
                 <p class="table-text-description">
                    The graphical scripter within 001 Game Creator is a simple, yet powerful method of creating events for your game without the difficulty of learning to write code. It uses the simplicity of pointing and clicking to allow the user to easily implement events in the form of a flowchart.
                 </p>
           </div>
           <div class="table-footer">
                 <span class="table-type">2D | 3D</span>
                 <span class="table-price">Free/Commercial</span>
           </div>
        </div>
    Last edited by Kage Kazumi; 10-13-2012 at 08:11 AM.

  4. #4
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    First thing, try commenting the border-radius properties from the css and see if that resolves the problem, and we will see whether it is the fault of border radius or not. Before you do that however, try commenting out the line:
    Code:
    background-color: #360;
    Just in case.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  5. #5
    Join Date
    Oct 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bernie1227 View Post
    First thing, try commenting the border-radius properties from the css and see if that resolves the problem, and we will see whether it is the fault of border radius or not. Before you do that however, try commenting out the line:
    Code:
    background-color: #360;
    Just in case.
    The large green area goes away when I comment out:

    Code:
    border-style: solid;
    However, then it losses it's corner look to it.

    I commented out each part of the radius 1 by 1 and it went away when the above was commented out.

    SEE: http://zanime.net/list/

  6. #6
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Hang on, what happened to the part at the top? Do you want that part? What happens when you comment out my suggestions?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  7. #7
    Join Date
    Oct 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bernie1227 View Post
    Hang on, what happened to the part at the top? Do you want that part? What happens when you comment out my suggestions?
    I wanted it to be rounded corners and you can click the link to see what happens when I comment out all radius stuff.

  8. #8
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    So what happens if you just comment out the background-color part?
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  9. #9
    Join Date
    Oct 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by bernie1227 View Post
    So what happens if you just comment out the background-color part?
    Nothing. However, I think I solved my issue. I had a lot of DIVs going on so I switched it to:

    HTML Code:
    <table id="tb-wrapper">
        <tr id="tb-header">
            <td>
              <span class="tb-header-title"><strong>Software Title</strong></span>
              <span class="tb-header-os-icons">
              <strong>Operating System</strong>:
              <img src="images/windows-logo-icon.png" alt="Windows" />
              <img src="images/mac-logo-icon.png" alt="Mac" />
              <img src="images/linux-logo-icon.png" alt="Linux" />
              </span>
            </td>
        </tr>
        <tr id="tb-body">
            <td>
              <span class="tb-body-image"><img src="images/sample-image.jpg" /></span>
              <span class="tb-body-description"><strong>The graphical scripter within 001 Game Creator is a simple, yet powerful method of creating events for your game without the difficulty of learning to write code. It uses the simplicity of pointing and clicking to allow the user to easily implement events in the form of a flowchart.</strong>
              </span>
            </td>
        </tr>
        <tr id="tb-footer">
            <td>
              <span class="tb-footer-
            </td>
        </tr>
    </table>
    and it seems to have fixed all the pushing and un-aligning stuff.

    Thanks for your help and replies though.

  10. #10
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    alright, glad you've solved the issue. So it was the html rather than the css then?
    anyway:
    If this thread is finished, please set it to resolved.
    You can do this by editing the first post within the thread - Pressing go advanced - Then where it says no prefix, selecting resolved then save.
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

Similar Threads

  1. rounded corners using corner radius
    By emanuelle in forum CSS
    Replies: 1
    Last Post: 11-04-2010, 09:05 AM
  2. rounded corner button FOR IE
    By emanuelle in forum CSS
    Replies: 5
    Last Post: 06-01-2010, 01:12 PM
  3. Resolved Rounded corner issues, please advise.
    By bgdcham in forum CSS
    Replies: 5
    Last Post: 02-03-2009, 06:34 AM
  4. can i add news scroller in rounded corner box/div
    By lavanya in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-22-2008, 06:55 PM
  5. Rounded corner images
    By stevef in forum Looking for such a script or service
    Replies: 1
    Last Post: 04-10-2008, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •