Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with my CSS coding!

Featured Replies

HI

 

i have been working on a website for my friend and i am stuck with the css code. I have uploaded the website on here: http://www.gamingcups.com/test/

 

The problem is when you go over the navigation buttons at the top. The image below and the writing jumps down. Is there a code that i can add to my CSS to make this stop?

 

If you open the website in Firefox and use the web developer tool bar to edit the CSS and you will be able to see the full CSS code that i am using. I am not sure if the problem is in the html side but i thing there is no errors there.

 

Thanks

The slider is actually sitting right up against the nav, and when you hover and the nav gets taller it pushes the slider container down.

 

Without restructuring things, or using absolute positioning for the rollover on the nav you could just set a style for the header with a fixed height.

 

#header
{
height:152px;
}

Edited by Synjyn

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.