Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
DIV problem and iframe issue
Old 08-06-2008, 03:16 AM DIV problem and iframe issue
Skilled Talker

Posts: 90
Trades: 0
Hi all...

I'm working on a site and have run into two complications. The first is regarding a navigation menu I implemented... I essentially just want to center the menu in the DIV, but can't figure out how. I've tried changing the DIV style, etc. but to no avail.

The second problem is I integrated a Google custom search and when the results pop up and overlay the site, a flash image rotator I'm using comes up with it.

You can see the problems in action here:
http://www.foothillsbaptist.org/new08/

Any help is appreciated.. thanks!
msaz87 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-06-2008, 06:15 AM Re: DIV problem and iframe issue
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
Quote:
I essentially just want to center the menu in the DIV, but can't figure out how.
To center the menu you should first give it a width. Then center it with margin:0 auto; or with absolute positioning.
Example code:
Code:
#slatenav {
width:700px;
display:block;

/* to center use */
margin:0 auto;
/* but this doesn't work in older browsers, including IE6 so you could use absolute positioning in place: */
position:absolute;
left:50%;
margin-left:-350px; /* this value needs to be -1 * WIDTH / 2 */
}

<div id="blue">
<div id="slatenav">
<ul id="countrytabs">
<li><a>foo</a></li>
<li><a>foo</a></li>
<li><a>foo</a></li>
</ul>
</div>
</div>
Something in general:
I saw you use many div's but also still a lot of table's for designing issues ... remove the table's and get ride of the font-tags by replacing them with CSS. This would improve your site in general.
bas is offline
Reply With Quote
View Public Profile
 
Old 08-06-2008, 06:16 AM Re: DIV problem and iframe issue
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Not seeing the second problem. Did you fix it?
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-06-2008, 07:11 AM Re: DIV problem and iframe issue
Skilled Talker

Posts: 90
Trades: 0
Quote:
Originally Posted by wayfarer07 View Post
Not seeing the second problem. Did you fix it?
I didn't do anything... maybe it was a temporary bug of some sort?

Quote:
Something in general:
I saw you use many div's but also still a lot of table's for designing issues ... remove the table's and get ride of the font-tags by replacing them with CSS. This would improve your site in general.
I'm pretty behind the curve in my design and I know my code is littered with imperfections... I use FrontPage 03 for most of the work and then edit the code by hand when needed... do you think this transition would be doable using that software still?

Thanks for all the help
msaz87 is offline
Reply With Quote
View Public Profile
 
Old 08-06-2008, 07:39 AM Re: DIV problem and iframe issue
bas
Super Talker

Posts: 108
Name: Bas
Trades: 0
My experiences with Frontepage are'nt positive, but I only used a previous version years ago, so my opinion my not be as objective as you want. I'm a bit against the use of any kind of WYSIWYG-editor for websites, just because with websites it's ( according to markup) NOT about what you SEE, but about what you HAVE.

I can't say if it's doable using that software, but if it isn't ... Why should you not improve your website just because the software you use at this moment isn't skilful enough to handle it?
bas is offline
Reply With Quote
View Public Profile
 
Old 08-06-2008, 08:02 AM Re: DIV problem and iframe issue
Skilled Talker

Posts: 90
Trades: 0
Quote:
Originally Posted by bas View Post
My experiences with Frontepage are'nt positive, but I only used a previous version years ago, so my opinion my not be as objective as you want. I'm a bit against the use of any kind of WYSIWYG-editor for websites, just because with websites it's ( according to markup) NOT about what you SEE, but about what you HAVE.

I can't say if it's doable using that software, but if it isn't ... Why should you not improve your website just because the software you use at this moment isn't skilful enough to handle it?

Well that's the thing.. I'd love to improve the site.. but I don't know if I'm skillful enough to do something as good without the editor..

I appreciate your guidance though
msaz87 is offline
Reply With Quote
View Public Profile
 
Old 08-06-2008, 08:16 AM Re: DIV problem and iframe issue
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
As far as I know, FrontPage does not have WYSIWYG features for doing table-less layout, which are better done by hand anyway. FrontPage produces pretty awful code, requires FrontPage extensions to be loaded on any server in order to run (if used the way it is designed), and is, in general, a bad tool for administering anything that needs a database to operate.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to DIV problem and iframe issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28441 seconds with 12 queries