Solved

how to fix the css for  button

Posted on 2012-12-23
2
269 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
2 Comments
 
LVL 3

Accepted Solution

by:
wadehults earned 500 total points
Comment Utility
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
Comment Utility
Perfect buddy :)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now