Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to fix the css for  button

Posted on 2012-12-23
2
Medium Priority
?
297 Views
Last Modified: 2013-01-07
on this website home page http://www.murraypark.com/ I want to replace the Room booking button (anchor) in the header, footer section with the social media icons and the room booking button should move to just above the icons.  What css changes would I need to make it look like as in the attached image.
0048MP-Website-Amends-st1-HomePa.png
0
Comment
Question by:mmalik15
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
wadehults earned 2000 total points
ID: 38717374
You will need to move your button code from the headerFoot div to the headerMid. I would recommend enclosing this in a child <div> element with positioning defined in your CSS. Something like:

 <div id="headerReservation" class="floatRight">{insert button code here}</div>

You would then insert your social media button codes into the place where your original reservation button code and enclose them in a <span id="social"> element to keep them in one spot within the <div id=headerFoot> section.

Once you have identified the various section id's, you can then tweak the CSS location attributes to place the elements to your liking. Except for the fine-tuning, you should be able to use your existing CSS without much modification, though you will need to add a definition section for the #headerReservation id similar to:

#headerReservation {
      float: right;
      height: 25px;
      width: 200px;
      position: fixed;
}

If you don't already, you will also need a float: clear; attribute in your #content <div>. This will prevent the main content region from inheriting any float values from preceding elements.

Of course, this is just a basic guideline to nudge you in the right direction. If you have any other scripting functions that come into play, you may need to make some additional changes.
0
 

Author Closing Comment

by:mmalik15
ID: 38752157
Perfect buddy :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question