This is a discussion on "Something really simple" within the Web Page Design section. This forum, and the thread "Something really simple are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Something really simple
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Something really simple
Ok, I've created something really simple, but I need to put buttons at the right place. What's the best way to accomplish this in CSS?
html:
|
|
#2
|
|||
|
|||
|
Re: Something really simple
So where do you want to put the buttons?
|
|
#3
|
|||
|
|||
|
Re: Something really simple
In the little tabs on the top-right..
|
|
#4
|
|||
|
|||
|
Re: Something really simple
If I get it right, all of the attached image is one solid piece of graphics. If so, then, by my opinion you should crop the button image to a separate file and then use it as background for the <div> or <ul> <li> or other element that you will use for creating navbar. Within that navbar element you specify font-family: arial and font-size:whatever px;.
This is how I would do it. Position the navbar buttons either relative to <div id="header"></div> or absolute. |
|
#5
|
|||
|
|||
|
Re: Something really simple
The image I provided is a mock-up I made in Photoshop. My thought was to use the images (header) as a background and create text-links over it in the right position. It doesn't have to do anything fancy, it just has to be clickable..
|
|
#6
|
|||
|
|||
|
Re: Something really simple
Hmm, I've been putzing around with the css.. I've cut up the header, bade seperate button-background-images, positioned them, but now the text is all over the place!
Lookie lookie: http://www.poppen.ca/showcase/fotonijkamp/ html:
|
|
#7
|
|||
|
|||
|
Re: Something really simple
I fixed the secon and the third button by adding padding to the divs they were in: you had the divs sitting at the top of the page, so the text went up there too. The first button you'll have to see what you do!
You can make them look better with more padding, just remember to toggle the height and the width to keep it looking good. |
|
#8
|
|||
|
|||
|
Re: Something really simple
I asked a friend of mine too about this, and he came up with this css:
|
|
#9
|
|||
|
|||
|
Re: Something really simple
|
|
#10
|
|||
|
|||
|
Re: Something really simple
Looks great! I love tabbed menus. I like your dangly header too.
Pete. |
|
#11
|
|||
|
|||
|
Re: Something really simple
Quote:
|
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple Job | MetallicWarfare | Job Opportunities | 0 | May 24th, 2008 13:30 |
| Just some simple css help! Please?? | lefty | Starting Out | 9 | Apr 28th, 2008 11:19 |
| Very Simple Cms | christopher | Website Planning | 3 | Apr 26th, 2008 18:19 |
| Just want simple Background Song (.mp3) and a simple start/stop. | BlackReef | Flash & Multimedia Forum | 4 | Jun 28th, 2007 08:04 |
| simple GET | moiseszaragoza | JavaScript Forum | 4 | Mar 24th, 2007 01:35 |