Question from WordPress PHP/XHTML Gap

Hi all:

I worked with DW to create my first model tailored for Wordpress by following this tutorial: http://www.WebDesignerWall.com/tutorials/building-custom-WordPress-theme/ .

My problem is that there is a gap between the header div and the menu div in Mozilla and Safari browsers, but it looks fine in IE 6.

You can see it here: http://reynolds-marketing.com/blog/

Here is the code for the file 'header.php' and below it is the relevant CSS code. Any suggestions would be much appreciated! TIA.

Header.php code:

< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
" < html xmlns =" http://www.w3.org/1999/xhtml ">
< head >
< meta http-equiv = "Content-Type" content = text/html"; charset = ISO-8859-1 "/ >"
< title > <? PHP bloginfo ('name');? > <? PHP if (is_single()) {? > & raquo;} Blog Archives <? PHP}? > <? PHP wp_title();? > < / title >

< link rel = "stylesheet" href = "<?" PHP bloginfo ('stylesheet_url');? ">" type = "text/css" / >

< / head >
< body >
< div id = "page" >
<! - added this to a div, preceding the header - >
< div id = "above" > < / div >

< div id = "header" > < / div >

< div id = 'menu' >
< ul >
" < li > < a href =" http://Reynolds-marketing.com/Contact_us.html "> Contact us < /a > < /li > .
" < li > < a href =" http://Reynolds-marketing.com/blog "> Blog < /a > < /li > .
" < li > < a href =" http://Reynolds-marketing.com/what_we_do.html "> we do < /a > < /li > .
" < li > < a href =" http://Reynolds-marketing.com/Who_We_Are.html "> us < /a > < /li > .
< /ul >
< / div >
<!-/-> header

CSS code

{body
fonts: 75/150% Arial, Helvetica, without serif. / * the body changed to Arial font * /.
Color: #333333;
background: #FFFFFF;
margin: 0px;
padding: 10px 0px 40px;
}
/ * This changes header section and article fonts in the content div * /.
a {}
Color: #FF0000;
text-decoration: none;
do-family: Arial, Helvetica, without serif.
}
a: visited {}
Color: #0000FF;
text-decoration: none;
}
a: hover {}
Color: #666666;
}
{p}
padding: 0px 0px 15px;
margin: 0px;
}
H1 {}
margin: 0px;
Police: bold 1.25em/150% Arial, Helvetica, without serif.
Color: #FF0000;
padding-top: 10px;
padding-bottom: 10px;
}
H1 a {}
color: #c9eefe;
text-decoration: none;
}
H1 a: visited {}
color: #c9eefe;
text-decoration: none;
}
H1 a: hover {}
color: #ffffff;
text-decoration: none;
}
/ * h2 control headline fonts second pages * /.
H2 {}
Color: #FF0000;
margin: 0px 0px 2px;
border-bottom: 1px dotted #CCCCCC;
letter-spacing:-1px;
Police: normal 190/100% "Arial, Helvetica, 'sans-serif;
padding-bottom: 3px;
}

H2, the h2: visited {}
Color: #0000FF;
text-decoration: none;
}

H2 a: hover {}
Color: #666666;
text-decoration: none;
}

H3 {}
Police: normal 140/100% Arial, Helvetica, without serif.
Color: #FF0000;
margin: 10px 0px 5px;
}

form {}
margin: 0px;
padding: 0px;
}
#page {}
margin: 0px auto;
Width: 800px;
background: #FFFFFF;
border-bottom-color: #CCCCCC;
}
{#above}
height: 60px banner;
background: url(images/aboveimage3.jpg) no-repeat;
}
#header {}
background: #33FF00 url(images/bloganimation.gif) no-repeat; / * Adding background image * /.
height: 180px; / * Past 170 to 180 * /.
position: relative;
}
{#headerimg}
position: relative;
padding: 30px 0px 0px 40px;
height: 60px banner;
}
#headerimg {} .description
position: absolute;
left: 110px;
bottom: 3px;
color: #c9eefe;
do-size: 14px;
}

/ * added to my own menu starts here * /.

{#menu}
height: 30px;
line-height: 30px;
padding-left: 30px;
background-color: #999999;
}
#menu li {}
float: right;
list-style-type: none;
}
#menu li a {}
Display: block;
padding: 0 10px;
text-decoration: none;
color: #FFFFFF;
border-left: 1px solid #FFFFFF;
border-top-style: none;
border-bottom-style: none;
font-size: 85%;
Police-weight: 900;
}
#menu li a: hover {}
color: #FFFFFF;
text-decoration: none;
background: #FF0000;
}
/ * added to my own menu ends here *.

It's the AMT inside your menu div. Try adding this to your style sheet and see if it suits him.

#menu ul {}

margin: 0;

padding: 0;

}

Tags: Dreamweaver

Similar Questions

  • Send push notification app from a php page

    Hello

    My question is: is it possible to send push notification to an application from a php page (hosted on a remote server or website)? If so, is there a tutorial or something?

    The simplest option is to use a 3rd party service which provide an API to send promissory notes and a plugin for PhoneGap. Pushwoosh.com are very good and have examples of code for php. You will need to register for service PN Apple and Google (no extra cost) then give the Panel of Pushwoosh the access key (Google) and your Apple dev password (it will configure the necessary certificates for you).

  • Questions from the media on the report columns

    Hello

    I'm experimenting with questions from the media on the APEX components such as the columns on the report.

    I have an example that works, but I wonder if it's the best way to go about it.

    APEX media query example

    I applied the following CSS

    @media (orientation:portrait) {
      .landscape_only {display:none;}
    }
    @media (orientation:landscape) {
      .portrait_only {display:none;}
    }
    

    For components such as regions, buttons etc - I can apply "CSS Classes" attribute class to the component level.

    for example: I have applied the .portrait_only in the area of 'Code' in my example

    but for the columns in a report, I had to apply this jQuery on the page loading.

    $('th#HIREDATE, td[headers=HIREDATE]').addClass("landscape_only");
    

    If I applied to the class in the detail of the column that the data has been hidden when Guide to portrait - not the entire column.

    Are there more effective methods of enforcement of the class to the column?

    Reading articles like this lead me to think that way, but I don't know if APEX could be other solutions.

    5 tips for better jQuery selectors - SitePoint

    It becomes a little pain if I wanted to list a number of columns.

    I look forward to jQuery gurus ;-)

    Scott

    Rather than specify the classes at the level of the components and using jQuery when running, why not simply specify the items directly in the stylesheet?

    @media (orientation:portrait) {
      #P2_BUTTON2,
      th#HIREDATE, td[headers=HIREDATE]  {display: none;}
    }
    @media (orientation:landscape) {
      #P2_BUTTON1 {display: none;}
    }
    

    This seems to be a more effective approach that all orientation-based rules are easily visible and easy to manage in one place, rather than be dispersed through the definitions component and dynamic action.

  • Fill in the fields from a php script

    Hello

    I am filling the fields of text from a PHP script directly in Acrobat Reader.

    Lets not talk about database right now, I just want to know how to take a variable in PHP, right in the form of livecycle designer.

    I've seen a lot of things like submitform() using http post, etc., but I can't make it work.

    Thank you in advance.

    If you want to fill in the LiveCycle Designer form, then you will need to go with the data file.

    The data file can be an XML file or a database or WebService.

    You can't fill out the PDF from a PHP script directly. Is what you can do, a LiveCycle process created in Workbench and then call the PHP application process information. The Livecycle process will merge the data with the model and the PDF back to the client application.

    There is another feature in Acrobat PRO you can import an XML file directly to PDF, but it's a manual work. You cannot link to a PHP Script.

    Thank you

    Srini

  • Three Questions from beginner to Captivate 3

    Adobe Captivate 3.

    I have three questions from beginner to Adobe Captivate 3.

    1. I noticed that CP3 only creates SWF files.  Why not offer the possibility to create an FLV file in the final product?  What is the difference between a SWF file and a FLV?

    2. I want my finished product for a single slide with a picture in the background and some areas of reversal.  It seems that no matter what I do, the blade is not fixed, but faints and disappears after the default time of 3.3 seconds.  How can I achieve making the slide remains in place, not disappear, and behave as I want?

    3. I want to do a slide that has a video autoplay Flash on it (this part I know how to do), but I want the slide to move to another slide specified when the video ends, without user action.  How can I do?

    Thanks to anyone who can help me on these issues.

    Hello

    Doug chaplain wrote:

    Adobe Captivate 3.

    I have three questions from beginner to Adobe Captivate 3.

    1. I noticed that CP3 only creates SWF files.  Why not offer the possibility to create an FLV file in the final product?  What is the difference between a SWF file and a FLV?

    CP3 does not FLV because it was not part of the specification for CP3. I don't know why it is like that. Maybe the Captivate development team knows for sure. In any case, Captivate 5 was recently released. If the point is little questionable, right?

    Regarding the second part of this question, SWF can have interactivity such as bearings or clickable areas or buttons that perform different actions. FLV is usually just a video, just like a DVD movie that you watch passively, and you do not participate.

    2. I want my finished product for a single slide with a picture in the background and some areas of reversal.  It seems that no matter what I do, the blade is not fixed, but faints and disappears after the default time of 3.3 seconds.  How can I achieve making the slide remains in place, not disappear, and behave as I want.

    You can get there. Just insert a click box and time it so it suspends the slide at the right time.

    3. I want to do a slide that has a video autoplay Flash on it (this part I know how to do), but I want the slide to move to another slide specified when the video ends, without user action.  How can I do?

    So now you change course on us? You said to question 2 you want the finished product is a single slide! This is perhaps another project, you're talking about.

    If you examine the properties of the slide, you will discover a labeled area of Navigation. Using this box, you can choose to navigate to another slide when it finishes playing.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcererStone blog

    Captivate eBooks

  • 8620 printer - fax receiving to questions from a private number

    Help a friend to me.  Recently bought a new JO Pro 8620 AiO

    He had Comcast - internet and phone 2 lines - 1 line is dedicated to... fax number when it receives a fax from a private number (it takes care of most of the schools are set up as private numbers)-he must manually accept the fax on the screen of the printer.  This parameter is missing on the fax configuration or if he chose so that it has more to do this... and that one receives fax anything?

    Hi GBrun,

    The answer you are looking for is "set auto answer."

    The process is mentioned on page 77 of the manual which can be found at http://h10032.www1.hp.com/ctg/Manual/c04204791.pdf

    You can also set the number of rings before answer (page 78).

    1 small question - is actually two different lines of your friend's phone line? or just a line with two phone numbers assigned? If you take a phone while the other is in use and you hear the converstion, it is a line with two phone numbers. If you do not, then it's two separate lines.

    If it's 1 line with two phone numbers, then you will also need to put a special (page 78 again) ringtone - in this way, the machine can recognize what line call and be able to pick up in time.

    Good luck!

    _______________

    I do NOT work for HP

  • Question from newbie GPIB on multiple devices

    Hello, I'll work on the reproduction of a test bench that communicates through GPIB. I've never worked with GPIB and I'm looking for a list of hardware to buy to reproduce this system and have a question. I'm having 2 GPIB devices, one on the address 9 address the other 22. One device is a voltmeter of HP and the other is a HP (3488 (A) switch unit. The old test bench has 2 GPIB cards for that but my question is should I really 2 GPIB cards to communicate with these 2 devices? From what I've read up to 15 devices can be connected on the same port, GPIB. Is how software should be written is different because of the Garland of devices?

    Hello

    GPIB addresses up to 15 devices and you don't need two gpib cards.

    Addresses of software always using an address, so the only thing you need to take care of is to assign different addresses to instruments and to ensure that all calls are sequential, not parallel because it's just a bus.

  • Quick question from a newbie

    I want to implement VOIP trunk between two fixed location. Location A is as B location is the work from home. There is a virtual private network between the two, they are on different subnets. I want to access the PSTN line to site B to Site A (home) (work) using VOIP. In other words, I want to use the PSTN to work for voice calls when I'm working from home.

    Can I install the SPA3102 to work and use SPA901 home. No SIP server comes directly from trunk between the two. In other Woods can I just "dial" the SPA3012 using the SPA901 and get the PSTN tone. No other device will not involve just point to point between these two.

    Is it possible, is it easy to implement?

    Thank you very much

    Peter

    I found the answer in the excellent "sandbox SPA3000 to save the document. It seems that this question was asked several times our apologies for those who discover VOIP it also well know what question to ask and what to actually look for!

    Anyway sort

  • Deleted question from the Forum?

    Is someone deleting messages from this forum?

    I asked a question on the backup of the computer and the question is no longer available?

    Markus

    Hello Huaraz,

    We will investigate the removal of the thread and I see that you have created a new thread here. I went with you on your question there as well.

  • FTP - open the site in question from the file Explorer.

    Hi all

    I am here today with a common question, which seems to have been answered several times, but none of the above worked for me.

    My problem is the following:

    • http://prntscr.com/39ebdv

    It's my current installation:

    • Ubuntu Server running 12.04 with installed ProFTPd.
    • Windows 7 computer (desktop) and laptop.
    • Windows File Explorer.

    Here's what I tested, and what are the results I get:

    On my two main computers, each running Windows 7, I get the image displayed above. (For those of you who cannot see the image, there are a stain on the bottom of this question). However, I tried it on two other computers in my LAN, and they work. I also tried on a computer in a different city, and it works. My FTP address is the following: "ftp://ftp.marshalldrive.ca" without the quotes.

    Here are some solutions I've tried:

    1. with the help of Internet Explorer (my current browser is Google Chrome), pressing 'Alt - view-> in the file Explorer view', I get the error displayed.

    2. turn off my firewall and my anti-virus, same results.

    3. go to the file Explorer Windows and in the address bar: "ftp://ftp.marshalldrive.ca" (without the quotes)

    4 import a registry that looks like this: http://prntscr.com/39ee2j (code shown below), using the above, didn't work.

    5. copy of the record of one of the other computers to work.

    6. release of Google Chrome and using IE.

    That's all.

    When you use the browser (IE, GC, PSC), I can type in ftp://ftp.marshalldrive.ca, and it works. However, it does not work when I try to display in the folder view. I get the above error.

    Why am I trying to do?

    -I know FileZilla exists and many others. I like the simple layout of the windows Explorer, and it is easier for the elderly to use to use F.Z. I also prefer not having to install anything and using the built-in module.

    IF anyone can help me I can help you in return. I am creating a file storage system, and I can give you free space on my server.

    No Image error:

    "Windows cannot access this folder. Make sure that you typed the filename correctly and that you are authorized to access the folder.

    Details:

    A connection with the server could not be established. »

    No Reg Code Image:

    "

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\ftp]
    "ShellFolder" = "{63da6ec0-2e98-11cf-8d82-444553540000}".
    'Source filter' = "{E436EBB6-524F-11CE-9F53-0020AF0BA770}".
    "URL Protocol"=""
    @= "URL: File Transfer Protocol.
    "AppUserModelID"="Microsoft.InternetExplorer.Default."
    "EditFlags" = dword:00200002
    'FriendlyTypeName"="@C:\\Windows\\System32\\ieframe.dll,-905 '.

    [HKEY_CLASSES_ROOT\ftp\DefaultIcon]
    @= "C:\\Windows\\System32\\url.dll,0".

    [HKEY_CLASSES_ROOT\ftp\shell]

    [HKEY_CLASSES_ROOT\ftp\shell\open]
    "CommandId"is"IE. Protocol ".

    [HKEY_CLASSES_ROOT\ftp\shell\open\command]
    "@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1 ".
    "DelegateExecute" = "{17FE9752-0B5A-4665-84CD-569794602F5C}".

    "

    Hey Tyler,

    Please contact the Microsoft Community.

    I would have you post in TechNet for assistance more.

    http://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro

    Let us know if you need anything else from us.

  • Questions from Newbie to Smartphones blackBerry re: BIS (but not a newbie to BB)

    I had BB phones since the 8320 came out.  Now have 9700.  I make use of BB intl e-mail when overseas.  (I think BB is in 90 countries - I have used it in at least 15).

    1. I'm not really well informed about all this.  All I know is that BB treats my email is transferred from gmail, Yahoo, etc.  I send my email in gmail (single company)...

    BB will continue this service for phones that work on OS 5, 6 and 7?  I think it has been discontinued on OS 10?

    2 suitable service BES a businessman solo who needs to manage the e-mail?  It would seem that maybe that's only for mega-companies.   Are there companies out there that would bundle small users together in order to access the BES?  (Is it possible.?)

    And finally, if small users will, in fact, to be cut utilities to BB - why should stay us (just 2 lines)?

    Suddenly cut Google Google Voice of all BB users last month.  Google Maps still work on everything but OS10 - but Google could cut that as well (although I doubt it because I think it's a money maker for them.)

    Except for the fact BB may be the last regulation. should w. a physical keyboard - only BB offer do not have Android or other systems of the OS?   Due to a slight hand tremor recently acquired - I need a physical keyboard.  I have trouble using a virtual keyboard.

    Thank you.

    miketha wrote:

    Just a follow-up question, if you don't mind.    TMobile (US), and I think that ATT offers unlimited e-mail for international travel to 67 cents per day.  This feature/option seems to disappear, we continue to use a phone with BIS.

    I have no idea... the companies control plans and the services that they have, and I found it quite impossible to make up the differences among the hundreds of carriers supporting the BB in the world. You ask them about it.

    miketha wrote:

    And thank you to confirm WHAT BES is suitable for large organizations.

    Is not at all what I said, and I do believe that it is true. Internal full BES, Yes, is oriented to companies that can achieve economies of scale. But there are services of BES-level (e.g., hosted) available pretty much anyone.

    Good luck!

  • BlackBerry smartphones send your questions from a novice

    I just got my curve 8320.  I have BES and also an internet email on blackberry account.  I have 2 questions:

    1. is there a way to keep the 2 accounts of integration.  I like to keep my personal emails separated by business email

    2. I would like to have the choice to delete my internet email from only the blackberry or the server of my ISP.

    I was flipping around this thing for 2 days to understand these.  Anyone has any ideas.

    Oh one more thing.  How do you know when you need a memory card, and the blackberry can support micro SDHC?

    1. Yes, with empower BES Email Inbox. Google it. It will go your BES mail to its own folder.

    2. messages > Options > Email reconciliation > delete = set as desired for each e-mail address on the device.

  • Question from Newbie blackBerry Smartphone memory card

    I have recently entered the world of BB and am happy with my curve 8330 from Sprint. I am down encryption and have scoured all the online info, I can find as well as the manual. I'm barely scratching the surface of all uses and features, and while I am old guy when it comes to computers (50) and am not an expert, I'm not afraid of technology either and am eager to learn. I have a few simple questions (I hope) that I could use some help/advice for.

    (1) the BB came with a 1 GB card and I also bought a 2 GB card. If I want to change the 2 GB card, I have to do and what items/app will be affected by the swap? I'm not sure if the BB has an internal memory and the memory card, and what exactly is used to by the BB memory card. And what are the benefits to upgrade me to the 2 GB card;

    (2) If an email I rec'v has an attachment which is a video, I can't play (although no problems with photo attachments) is at - it an app I want to download on the BB for videos, and if so how can I do this and where to get the application? I've never downloaded an app on the BB before and am not sure exactly how do;

    (3) is at - he an advtage to connect to a Wifi hotspot from your mobile operator in some cases and my 8330 allows a wifi connection and how do I configure it if so.

    Thanks for anyadvice and help that you can lend... I'm new to this but am fascinated by the possibilities.

    Joel

    If media files are on your device memory, it just load Media Manager into the Desktop Manager and move on.

  • have a question from Final cut pro to adobe first

    FCP.jpgADOBE.jpg

    Simply switch from Final cut pro to adobe first and want to know how or is it possible to have the window of similar edition as final cut pro, I found it a bit annoying that I can't see the video frame-by-frame in the editing window x_X

    Each version is different so please state your version when you ask a question.

    If you don't people guess the last CC version.

  • isn't 90% more questions from the actual training?

    Several years ago I had an instructor (Chinese leader) who was in charge of the certification test,

    and she said that most of the test questions is from dishes of course.

    It allows to actually take the course.

    Many Oracle certification tests (not all) have one or more Oracle University courses that match very closely the subjects that will be tested.  In these cases, the course of the ORGANIZATIONAL unit is a great way to prepare for the exam.  There is certainly no fixed percentage (90% or other) of the exam questions which can respond by using the material presented in the course.

    For tests where these exam-course correlations exist, I think that there is at least some degree of direct liaison between the two.  OR developing tutorials and reviews - people doing this development perhaps in some cases.  Even if developers review certainly not access o material of course and probably vice versa.

Maybe you are looking for

  • I can well picked up a carrier locked iPhone 5 that has been restored to factory settings?

    Hello I hope to trade in my old iPhone 5 (I currently use a 5s) either finance or credit of the store to an iPhone SE. However, the situation with my iPhone 5 is complicated. It was bought by my father's business (I used to work there). It is carrier

  • Satellite L300D c000021a (PSLC8E) blue screen on startup after win7 64 bit

    Hello The error code on a blue screen after startup (after loading win7 logo) is:STOP: c000021a {fatal system error} Installed Win7 Ultimate x 64. My bios version is 1.80 Someone has any idea how to solve this problem? Thanks for help

  • limits of priority on a timed loop

    Hello Concerning the value of priority in a timed loop, aid said that this value must be between 1 and 65535.Does anyone know what are these targeted limits? Thanks for your time...

  • Problem with Windows Update on XP system

    In my XP system, when I try to perform the update reported by Microsoft Update, computerized, the box that says that it is looking the latest updates runs for a long time and then finally hangs up and should be completed by the Task Manager.  I sent

  • J3680: Paper jam problem

    I had a paper jam (not the first) and I removed the paper from the front of the printer. There was no sign of damage on the paper and it's stock, I used previously. Now, I have a warning visible paperless paper get stuck in the machine. Is there a wa