Quick css name question...

I created a simple file in dw main.css. It worked fine in dw and firefox testing - but failed in safari... many times I resent to web and cleared cache etc... but no joy
then I changed the name to something else and all worked
what went wrong? Is main.css some kind of 'protected term' or non permitted words that safari does not like?
btw this was the only code for it:
body {
background-color: #000;
font-family: "Times New Roman", Times, serif;
font-size: 16px;
color: #FC0;
a:link {
color: #FF0;
a:visited {
color: #FC6;
a:hover {
color: #FFC;
text-decoration: underline;

Filenames are not protected, but if the browser does not recognize the file type then it will do unpredictable things with it. If you pointed your browser to main.css, you would probably see just text. Files with the htm, html, etc. extensions are interpreted by the browser as .html and processed as such.

Similar Messages

  • Quick CSS box question

    Hi guys,
    Firstly a very Merry Christmas to you all !
    I'm just getting to grips with converting all the text on my
    site to CSS and have a quick question.
    On some of my pages I add an 'Also see' links box aligned to
    the right - it's a CSS div tag thingy someone kindly talked me
    through once. All of my pages are built from a template with an
    editable region.
    My question is, can I add this box (perhaps with a standard
    'Also check out' title and then spaces for my links) at the
    template level? This will save me having to go to Insert>Layout
    Objects>DivTag on every page. I've tried simply adding this to
    the editable region of the template but it simply pushed the
    editable region box over to the right and then didn't appear on my
    pages
    Also, the links box would ideally appear about half way down
    my pages on the right...
    Hope you can help, many thanks in advance!
    James
    Here's an example page where I have manually added my link
    box on the right of the page...
    http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.html

    Your CSS link implies that the CSS file is in the Templates
    folder. You
    shouldn't have anything there other than the template (dwt)
    files
    themselves. Please move it out to any other location in your
    site.
    <link href="../../Templates/Box.css" rel="stylesheet"
    type="text/css">
    Changes made to template editable regions would not propagate
    to existing
    child pages - that's why you aren't seeing that addition in
    them....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "JamesFryer" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi guys,
    >
    > Firstly a very Merry Christmas to you all !
    >
    > I'm just getting to grips with converting all the text
    on my site to CSS
    > and
    > have a quick question.
    >
    > On some of my pages I add an 'Also see' links box
    aligned to the right -
    > it's
    > a CSS div tag thingy someone kindly talked me through
    once. All of my
    > pages are
    > built from a template with an editable region.
    >
    > My question is, can I add this box (perhaps with a
    standard 'Also check
    > out'
    > title and then spaces for my links) at the template
    level? This will save
    > me
    > having to go to Insert>Layout Objects>DivTag on
    every page. I've tried
    > simply
    > adding this to the editable region of the template but
    it simply pushed
    > the
    > editable region box over to the right and then didn't
    appear on my pages
    >
    >
    > Also, the links box would ideally appear about half way
    down my pages on
    > the
    > right...
    >
    > Hope you can help, many thanks in advance!
    >
    > James
    >
    > Here's an example page where I have manually added my
    link box on the
    > right of
    > the page...
    >
    http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.html
    >

  • Quick CSS layout question

    This should be a quick one - I have just added in some links to the other countries on the page below. Basically all the links under the main Botswana image on the left hand side.
    Trouble is, that they have knocked the second row of lodges down to their right (this is how they should appear: http://www.goodsafariguide.com/botswana/index.php)
    I thought the culprit might be a clear:both; in the #outerWrapper #contentWrapper #content #row_two rule in the botswana_layout.css file, but apparently not.
    If anyone could quickly spot how to fix this that would be great.
    The page is here:
    http://www.goodsafariguide.com/botswana/botswana.php
    Thank you!

    Good news with the solution!
    Iain71 wrote:
    So its all looking as it should now:
    http://www.goodsafariguide.com/botswana/botswana3.php
    Its interesting that you mention the <a href="someurl.php"><div>Some content</div></a> thing. Although it seems to work, it wa something I wasn't entirely convinced was technically correct. I'm not sure how else you would do that though, and it seems a fairly common thing on sites (if not achieved the same way), ie having a large area that acts as a link. Maybe it should be contained in an outer DIV.
    Thanks again for your help.
    As I understand it, strictly speaking a <div> cannot be a link so, it should not be wrapped in an anchor tag.  I think it has something to do with the fact that a <div> is a block level element and <a> is in line.  This link http://htmlhelp.com/reference/wilbur/special/a.html is a reference for <a> it lists what other elements it can occur in and what it can contain.  An <a> can be placed inside a <div> but not the other way around.  Having said that, your use of the two elements kind of proves that they work but then you can fix wood together with nails and screws but some situations call for one or the other!  Reading up on this, I learn that it's different now in HTML5 but then I imagine, that was done to confuse me!
    The way I work out a page these days is based on my simple understanding of semantic code which for me means that the best element to use will always be the one that was intended for that job.  The most obvious are <ul> and <li> for lists and <p> for a paragraph.  I suppose <head> and <body> give even stronger clues.  I also understand that search engines and in particular, Google, appreciate the proper use of these elements when pages are crawled.  I know that SEO is a dark art but it kind of makes sense that a stupid robot will understand only the information is sees.  It knows a list is a list but it doesn't know that a div is a list.
    I have had a go at building your box of images using Dreamweaver Javascript rollover and the list elements.  It's quick and dirty and the javascript makes it look more complicated than it is.  However, if you compare my code with yours, I think that you will agree that my alternative is more straight forward and easier to read.
    One other thing about this idea is that but putting your image in the page, you can get a bit more content in there with your alt="" and title"" attributes.  At the moment, your option is a string of content-less divs.
    martcol.co.uk/test/africa.html
    Regards
    Martin
    You have to bear in mind that I am a serious hobbyist web developer who trys his hardest understand this shizzle.

  • Quick SAP Script question New Page Print

    Quick SAP Script question
    I have added a new page to an existing SAP Script BUT only want it to print if a condition is true.
    I need to do this from within the form as the print program is SAP Std.
    Any idea how I can prevent the new page from printing?
    i.e. I need the form NOT to call the new page if the condition is false. Is there a way of forcing an exit or stop from with in the form?

    Hi,
    To trigger a new page, there is script ediotr command NEW-PAGE.
    so find where is that command is triggered and use the below code for trigger it on any specific condition....
    if &condition& = 'True'
    /*  NEW-PAGE
    elseif
    /: NEW-PAGE   
    endif
    so it means if condition is satisfied your new page will not work.. else it will...
    Hope you got it...
    Try this..
    Best luck..
    Regs,
    Lokesh.

  • Quick Profile Name system not working as expected

    When I open the EMET and I change the value of "Quick Profile Name" from Recommended Security settings to maximum security settings and then restart the application it always changes to "Custom Security Settings" and it also changes
    the Data Execution Prevention (DEP) from "Always On" (like it is on maximum security settings mode) to "Application Opt in". How do I get it to stay on the Maximum security setting? Even if I change only the DEP to "Always On"
    it always changes back, how come?

    Hi,
    If your environment has multiple database, move the user to different database and check the status.
    Also try
    run the mailbox repair request for that mailbox, and check.
    new-mailboxrepairrequest -mailbox ""mailbox"

  • I have what is hopefully a quick and easy question. I kno...

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing. However I have no idea how to find the settings for my router on my computer. If it helps I have a Wirless model BEFW11S4. Thanks in advance for any help.

    You need to access your router to check if the DHCP is on.  To access the router open your browser and type in http://192.168.1.1 into the address field and hit enter.  That should open the routers log on screen and by default the user is left blank (some routers it is admin) and the password is abmin.  If you changed your routers password as you should for security reasons then use that password.  That will bring you to your routers user interface and on the main set up page should be your DHCP.
    Richard Aichner (Ikester)

  • Quick CSS question on templates

    Hi
    I use Dreamweaver CS4,
    Created a template & made the site based on it (taammevorach.com)
    I want to create the menu in an editable region but i'm a bit confused how I would do so.
    Can I create another css file just for that editable region? is that what is recommended? what would be the best way about creating a menu with some pictures and prices formatted neatly WITHIN that editable region
    I'm VERY new to templates
    Thanks!

    See this discussion:
    http://forums.adobe.com/message/2926278#2926278
    Another approach is to use Server-Side-Includes, either alone or in combination with DWTemplates.  The main advantage to SSIs is that when you need to edit your navigation, you open one file, make changes, upload to server, done.  All the magic happens on the server side.
    Guidance on when to use DW Templates, Library Items and SSIs  -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    More on DWTemplates -
    http://forums.adobe.com/message/2032104#2032104
    More on SSI
    http://forums.adobe.com/message/2112460#2112460
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Quick css question

    Hi guys im relatively new to css ive just learn few of the
    basic to contruct
    a layout in divs.
    i have one issue i dont know how to overcome its just
    positioning a div
    using floats and the clear styles.
    http://www.strongtowerint.org/ginericpage.html
    check the link..I'm trying to have all divs at the top in its
    right full
    area instead the middle content div lingers under neath it
    all and i know no
    way to fix that. i tried floating right and left clearing
    right and left for
    each div and what you see is the best i came up with all
    combos.
    i also tried reizing the width of the content div to no user.
    thanqx for your reply

    Are you using an external .css file for the dynamic text in
    your Flash
    movie, or is the formatting written in actionscript?
    Is some of the formatting working in Safari or is none of the
    formatting
    showing up?
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • A quick page formatting question

    Hi all,
    Just a quick question. I am doing a contact page and I want to lay it out like this:
    Address:      Company
                       Address Line 1
                       Address Line 2
                       City
    Home phone: 123456
    Cell:              123456
    How do I do this in dreamweaver? It won't recognize tabs or more than one space. It's driving me insane and I can't see any way around it

    Since you can't use tables, why not use Definition Lists?  This works in all browsers including IE6/7. 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "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>Sample Definition Lists</title>
    <style type="text/css">
    dt {
    float:left;
    font: bold 12px/1 "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    width: 6em;
    text-align: right;
    margin: 0;
    padding: 0;
    dd {
    font:normal 14px/1.2 Tahoma,Geneva, Arial, Helvetica, sans-serif;
    margin:0;
    padding: 0 0 0 6.10em;
    dl {
    clear:left;
    margin: 0.65em 0;
    padding: 0;
    </style>
    </head>
    <body>
    <!--Begin Definition Lists -->
    <dl>
    <dt>Address:</dt>
    <dd>Company Name</dd>
    <dd>Address 1</dd>
    <dd>Address 2</dd>
    <dd>City, Province,  Postal Code</dd>
    </dl>
    <dl>
    <dt>Phone:</dt>
    <dd>0-123-456-7890</dd>
    </dl>
    <dl>
    <dt>Fax:</dt>
    <dd>0-123-456-7890</dd>
    </dl>
    <dl>
    <dt>Cell:</dt>
    <dd>0-123-456-7890</dd>
    </dl>
    <dl>
    <dt>E-mail:</dt>
    <dd>[email protected]</dd>
    </dl>
    <dl>
    <dt>Website:</dt>
    <dd>http://example.com</dd>
    </dl>
    <!--end definition lists -->
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Basic CSS Functionality Questions

    Hi,
    I have a CSS 11501 loaner on the way from Cisco, but was hoping to ask a few questions ahead of time. I am relatively new to this, so bear with me.
    I have three offices connected via a VPN between two pix devices. Local users and anonymous web traffic all funnels through the remote office. I am hoping I can incorporate a CSS box to direct traffic (via a VPN to another pix) to a third office in the event the www server at the main office is not reachable, but return to the first office when it is back online.
    I am a little confused by VIP. Right now, my domain name resolves to an IP address on the outside of my pix which NATs and sends the request on to my web server. If the CSS is behind it, do I create a VIP that maps to the actual IP of the www server, and have the pix send traffic to the VIP?
    I have read the PDFs found online, but am still a little foggy.
    Thanks,
    JM

    the Pix will have to send the traffic to the VIP.
    The VIP should be an address existing only on the CSS and that the rest of your network knows how to reach.
    The CSS will then nat to the real server ip.
    Gilles.

  • CSS & PT Question

    Hi Everyone
    I have several sites that I'm getting rid of some older CUCM 4.3 boxes and I have a question about CSS and PT. Currently none of the sites are connected by to a PUB & SUB setup, all the sites are independent of each other but when I remove the older boxes and they just have the GW and they connect across the want I wanted to know can I use the current CSS & PT that I currently have on my SUB at our data center. I've checked all the boxes and they have the exact same setup as CSS & PT goes. But once they all connect back will I have to change anything or would I have to make any additional ones. I'm attaching a copy of the names that we have and these names again are the same on all the older boxes and on our new PUB & SUB.
    Eric

    That's up to your dial plan and requirements, you need to define whether the current dial plan adjusts to what the company wants, or if you need to modify it, but that's up to you.

  • Quick and easy question about creating folder

    Total Mac newbie with basic question.
    I want to put all my user manuals right on my desktop. All in a folder called user manuals. How would I do this? Smart folder? Just drag 'n drop? how can I quickly find them all?
    Thanks in advance!

    Hi MarieBoyer
    You can easily create a Folder on the desktop, by mouse click + contol to open the contextual menu, where you can choose New Folder, then give it a name.
    Or, more easily still just drag one of the existing folders onto the desktop and use it.
    As for finding all manual documents, they are just documents in general, and may not even have the word manual in their name, so searching by that criteria will in that case miss them. Otherwise you may have to search by each of their names, which would be rather tedious.
    So I suggest, of the manuals that you know of or come across, drag them into your new Folder on the desktop as you find them.
    regards roam

  • Index and document name question

    First of all, thanks for an XML database that actually works. After trying multiple other DBs, I was finally able to insert my 100000 XML documents and it worked.
    I inserted all the documents using dbxml_load_container which uses the filename and DBXML_GEN_NAME and inserts it to the container.
    Now for my purpose I will always query a specific document by its name which would be something like:
    $query = "collection('exampleData.dbxml')/*"/*[dbxml:metadata('dbxml:name')=somename]";
    (correct me if the query is wrong).
    Do I need to create any sort of indexes or anything for such queries? I will never query the container based on some attribute or node value or anything.
    Thank you.

    Hi
    Do I need to create any sort of indexes or anything for such queries? I will never query the >container based on some attribute or node value or anything.
    unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:nameYou do not need an index on the document names, as Berkeley DB creates the above index for you.
    A query like this will use the index:
    query 'doc("emp1/dbxml_9")/employee'
    Let us know if you have further questions.
    Ron

  • Iweb/Domain name question

    Hi,
    I am making my first Iweb site. I want to host the site through IWeb, but want to be sure I can use the simple domain name I own as the address, rather than a long www.mobileme.myname.domainname.com address. I see instructions involing setting up an alias on with the domain name provider, but wanted to ask around first.
    Also, do you know if I can host more than one website through Iweb.
    thanks for any and all help!
    I have sent these questions to Apple support, but no response yet. I gather the new Iphone is taking up a lot of their tech support time.
    Kim

    the url instantly changes and is long.
    This is the way CNAME pointing works with .Mac. If you like you can make things shorter by shortening the names you give your site and pages.
    Your "url", namely what people need to type to get to your site, is of course just the short version. What appears in the browser address bar is really irrelevant, but if it matters a lot to you, then you can undo everything you did for CNAME and switch to ordinary url forwarding/masking. With that, for every page on your site only www.myname.com will appear in the browser address bar for every page.

  • CSS layout question regarding browser sizing

    Hi,
    Basically I want the basis of my site to be - A header, Main content with a background image, A Footer.
    I'm having problems however, I can't seem to get my footer to position where I want it i.e. at the bottom of the browser window at all times. I'm doing it as an AP div and how it should work is that it's fixed at the bottom of the page and then if the user resizes their browser in the y direction the footer moves up with it, over the top of the main content (but not the header which will have a higher z-index).
    The way I THOUGHT to do it was to firstly create a div tag for the whole page (780 pixels wide, auto left and right margins, auto height) and then inside that put my ap div header fixed height at the top and have another ap div as the footer, fixed height and tell it to position 0 pixels from the bottom. However this doesn't seem to do the trick, I'm sure I'm missing something really really simple. Anyone who's vaguely familiar with the program will be able to answer this I'm sure. If my question isn't clear please let me know and I'll rephrase,
    Ta

    There is no reason to use APDivs for such a simple layout.  Default CSS positioning (which is no positioning at all) is typically all you need for most layouts.  Build your HTML markup logically from top to bottom of page and your footer will naturally appear at page bottom.
    Live Demo (view page source to see the code)
    http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
    Or, for a Sticky Footer using Fixed positioning:
    http://alt-web.com/DEMOS/CSS2-Sticky-Footer.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

Maybe you are looking for