Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Help with CSS Layouts [Was: Menu with submenu]

Community Beginner ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

this is the link

Document sans nom

Views

693
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 01, 2017 Jun 01, 2017

There is a general forum for those who prefer to use their native language, (french) at -

https://forums.adobe.com/community/international_forums/francais/content

By saying it needs to be a little larger, i mean that a larger height, (if set) or more padding is required.

Votes

Translate
Community Expert ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

Branching from this discussion?

menu with submenu

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

https://forums.adobe.com/people/Jon+Fritz+II  wrote

Branching from this discussion?

menu with submenu 

Yes, Jon.  It's also a layout question now.  It's no longer about menus.

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

Having looked at the original 'menu' discussion, and the image shown for how it should look. I am wondering what the question actually is, as on the ipad the header looks almost correct, except it requires to be a little larger, to move the bottom border away from. the menu and logo.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

I don't understand when you say

"except it requires to be a little larger, to move the bottom border away from. the menu and logo."

what element be a little larger ?

Is there a dreamweaver forum like the one in french ?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

There is a general forum for those who prefer to use their native language, (french) at -

https://forums.adobe.com/community/international_forums/francais/content

By saying it needs to be a little larger, i mean that a larger height, (if set) or more padding is required.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

Change:

.maclasse {

float:right

}

to :

.maclasse {

clear: both;

padding-top: 15px;

}

and add float: right; to:

#menu /* Ensemble du menu */{

  font-weight : bold; /* on met le texte en gras */

  font-family : Arial; /* on utilise Arial, c'est plus beau ^^ */

  font-size : 12px; /* hauteur du texte : 12 pixels */

float: right;

}

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

oui ca marche bien ca !

that works well !

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

My second problem is with the sub menu "Ma commune" the color is the color of my current page and I which the color is like accueil. I dont know whow stop the class="current" for the sub menu of "ma commune"

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

Move the 'current' class from the <li> to the <a> like below:

<li><a href="#" class="current">Ma commune</a>

Then change this css selector:

.maclasse #menu .current a {

background-color: #7A2870;

}

To this:

/* CURRENT PAGE MARKER */

#menu .current {

background-color: #7A2870;

}

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 01, 2017 Jun 01, 2017

Copy link to clipboard

Copied

LATEST

Yes Thank you verry much osgood_ my menu works fine now

thank's all the people of this forum to help me to understand CSS3

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines