use queries to support for different style sheets?

I know that this question must be asked all the time, sorry :-).  I have been working on a site and you have great help here for 2 previous questions. But now, I came across another and more than probably the last issue for this site. The page that I write is for my group, many of our fans and everyone have ipads, anodroids and soon. So just to see, I tested my site and 800 x 600 (I know the Res gets much lower than for 320 phones is the norm and 1024 x 768 for the ipad, I think, but it is the lowest, I could go on my pc to test) and I already had problems with the top of the screen being cut into pieces and well sure left and right chopped. I read up on it and I find the media to call sheets css dfferent for different resolutions.  What is togo of this problem? Also when I wrote the page that I was in 1280 x 1024, I did, as I thought it was prob. the resolution more used at this point, it is the best resolution to create? So, in a nut shell, what is the best way to address the resolution and what resolution you create in? Thank you very much for the help past as well as help with this.

John Dullebawn

Media Queries would be the way to go for what you want to do.

Keep in mind that just because this resolution may be the most widespread, it probably doesn't get used very often. Here's what I mean by that...

I my experience, very few people find anything on the web with a maximized window (I honestly can't do to think of a time where I have never seen someone using a display full-screen browser where it wasn't an accident). Most don't allow their browser to use 80% or more of their real estate property screen because they need room to click back between browser windows or other programs or just to get on their desk to find files.

The good thing with questions from the media, is that you need not worry about this because you can make one for 1280 x 1024 for the people who use the entire screen. Then an other for 1024 x 768 or 800 x 600 480 x 260, basically everything, and all the other resolutions you want to design for.

It's really how precisely you want to got on the number of possibilities to you.

Tags: Dreamweaver

Similar Questions

  • Use conditional tags to apply different Style sheets / Skins for purposes of brand?

    RoboHelp HTML > WebHelp appearance of layout using conditional build tags

    I have a client that provides an application to different companies and brands its product by changing the look, using a style sheet selected depending on the brand.

    Is there a way to customize a WebHelp layout, to select a style sheet and a skin 's brand, and another sheet of style and skin for the brand Band so on?

    Would this work in RH7? (The client uses this for the moment.)

    Would this work in RH8? (They could improve if this solves the problem.)

    Philip Tory, technical author

    Hello Phillip

    RoboHelp 8 offers capacity to appoint a specific CSS file in the presentation of single Source recipe. So sure.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7 or 8 days - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • How to use the different style sheets for ChangeAttributeRequest workflow in OAM

    Hello

    We have a requirement to invoke different change attribute request workflows (change password, change email etc.) of external JSPs.
    I want to apply different style sheets for each workflow. In the URL of the workflow if I get style = the style sheet name its not not using this stylesheet. Its still using the same basic (wf_changeattr.xsl) stylesheet. How can I use different style sheets? Pointers on this is appreciated.

    Thank you inadvance.

    Kind regards
    Srikanth

    Hi Srikanth,

    Are you using & xsl = stylesheetname or & style = parameter? XSL = must specify a specific xsl file, while & style specifies a complete style (for example & style = style0 for the default style).

    Kind regards
    Colin

  • Different style sheets for several accordians?

    I am a newbie to Dreamweaver CS4 and you just to add my first accordion to a Web page. I modified the stylesheet of the accordion, and it looks and works like I want. My question is this:

    If I want to install an accordion with a different style on a different site page, when I insert the accordion on the second page, Dreamweaver automatically generates a new stylesheeet with a different name for the second accordion? Or the new accordion automatically adopt (or replace) styles of the first?

    I appreciate your advice.

    Thank you

    Scott

    Scott,

    Thanks for your reply, Randy. I'm sorry to be a bit slow on this, but I want to be sure that I understand what you're saying.

    If I add this second accordion to a second page, by default it will adopt the same style sheet that I created and modified for my first accordion?

    If this is the case, so I just make a copy renamed this stylesheet, edit it, and then specify the new name of the style sheet in code to the new page?

    As I understand it, what you've done so faris to modify the SpryAssets/SpryAccordian.css. Fix?

    If so, * to rename the SpryAccordianFunky.css file (or something correctly descriptive). Dreamweaver asks if you want to update the links, so don't answer 'Yes' then your existing page breaks.

    Now, next time you add a Spry Accordion to a page, will add a new copy of SpryAccordian.css in the SpryAssets folder and that Spry Malaccaaccordian will get the default appearance. If you want the 'other' look, then rename the reference to SpryAccordian.css to use the new file.

    HTH,

    Randy

  • How do you get the 3 different style sheets CSS sample in 3 different areas of DW presentation?

    I added the css example 3 leaves that I use in my style site.  Now, I am trying to bring a different sample of css in different sections of the track.  Example:

    Box 1: green/yellow

    Box 2: red/yellow

    In the Middle: blue/yellow

    I seem to be only able to have one for the entire page.  Is this true?

    What I do is clicking the div tag: < div.sidebar # sidebar1″ >, then 'edit CSS' and then scroll the window of the class "attach the stylesheet" and nothing at the bottom a link to the sample css style sheets.  I click on the one that I want and it changes the css for the entire page, not just the box 1. Is there a way I can get a css style sheet different samples for each sidebar in a layout 3 columns and a different sample of css for the environment?

    Thank you very much

    You can not gather 3 of sample CSS style sheets because there are areas defined as tables and lists and paragraphs which are just be redefined.  So what is happening, is that the browser chooses (usually the last game) the instructions that he wants to use to display the content.  The only way around this is to save a copy of the CSS 3 documents, then open them at the same time.  Then use them as your master that will be linked to the page and grab the colors of other CSS documents.

  • Can we still use NOT_SUPPORTED and supported for any request method?

    Hi all

    Because the database selection didn't need a transaction (Please correct me if that's wrong), define the level of transaction "NOT supported" or "Supported" for all of these methods that question only something database?

    Maybe these methods will be called in other in a transaction, so "NEVER" cannot be used.

    My question is: is there a reason to get a transaction for methods without any insert/update of database?

    Say there are three beans as below:

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class InsertBean implements {Insert}
    @Override
    @TransactionAttribute (TransactionAttributeType.REQUIRED)
    {} public void createUsers (< user > list of users)
    INSERT INTO user WHERE...
    }
    }

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class QueryBean implements Query {}
    @Override
    @TransactionAttribute (TransactionAttributeType.NOT_SUPPORTED)
    public int getUserNumber() {}
    SELECT COUNT (*) FROM user
    }
    }

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class UpdateBean implements {update
    @Override
    @TransactionAttribute (TransactionAttributeType.REQUIRED)
    {} public void updateUsers (list < user > users)
    UPDATE user SET logindate = xxx WHERE...
    }
    }

    Insert and update requires a transaction and not the query. If there is a method of bean called as:

    InsertBean.createUsers (users);
    int n = QueryBean.getUserNumber ();
    UpdateBean.updateUsers (users);

    In this case, that the level of transactions for getUserNumber() request method must not be 'NEVER', only 'SUPPORTED' or 'NOT_SUPPROTED' is reasonable. But 'NOT_SUPPORTED' is more effective. So can I use level 'NOT_SUPPORTED' for all methods of query?

    If sometimes the query method must be in a transaction could you share?

    Thanks in advance.

    When the query is running for a long time and you who call inside the transaction, the transaction may time out.
    In this case you would go non-supported, so that this transaction manager can take the action when the method
    is called within a transaction. Otherwise it does not really matter.

  • Theme Support for different models and some newbie questions

    Hello, I'm new in the creation of theme BB and I need help. I created a theme on Theme Builder 6 for the Curve 9300, the type of provision is Blackberry 6 and the screen for this model size is 320 x 240. The problem is that I don't know what to write in the description on the supported models. I exported the zip file and the devices.txt file States that 9300 theme is for OS6. I need to know what the other models are supported? Or what I need to re-create for other models of same screen size? I'm really confused, and I'm not a BB user too. Also I don't know what produced icons and images recommended should be, I guess they are a type similar to those observed when hollow searching App World themes. And the calendar icon does not always change in the Simulator, I read that it is a bug in Theme Builder.

    Hello

    No matter what model of BB with the size of the screen of 320 x 240 and that runs on Blackberry OS6 theme will work. However, the theme will not work for a device with a screen size of 320 x 240, AND that run on Blackberry OS5.

    If you just need to do a bit of research on the screen sizes and device operating systems.

    Regarding the priduct icon, it is simply the image of the "App" icon The descriptive is the image that appears if your theme is featured on the app world. This is the only time where the featured image is used.

    Hope that helps.

    Kind regards

    Flow

  • Using RoboHelp 8 with RoboHelp 9 style sheet

    Howdy. My question:

    I was using RoboHelp 8 to work to develop a web help document in a Word file. We have a CSS company we apply to web help for look, feel, etc. He worked in RoboHelp 8, but not 9 despite following the same Word import procedure. Necessary to move to RH9 because RH8 was not to recognize our version of Word to compile and create the web, help files.

    How can I make my old style worksheet with RH9? Is there some step I'm missing? Help appreciated with 20.1 bazillion thanks in advance.

    I have corrected the problem. I dug into the file of master page that I used, and he was referring to the wrong CSS file. Why it worked in RH8 is beyond me, but it seems to be resolved.

    Thanks for all the help!

  • FAST: Can I use as a support for handlebar mounting roll?

    Hello! I'll be at the Sony store in an hour, I need to get on the anti-roll bars a lot, but rarely on the handles. So I don't want to buy both. Can I use one or the other? Thank you

    Which one are you? Old or new?

    If you got the RBM1 VCT - immediately return it and get the RBM2.

    You cannot tighten the RMB1 at all and if the camera always moves and doesn't slip on the arch.

    For the RBM2 - Yes, you can use it to both. I however suggest to put one of the segments on the arm, if you use it to handle, because it is much shorter than elsewhere and closer to the handlebar.

  • support for different languages

    I'm a GUI and thought that would be a nice feature. See image: http://postimage.org/image/oqidh1c4/

    First I thought I'd do a class with a function like f: (concept, language)-> Word and then each class should inherit from the class, and send the concepts I love ('OK', 'English') and make 'Confirm', ('OK', 'Swedish') and get "Bekrafta", etc. And then each class would implement an abstract method of 'update all' of the class dictionary, if the user changes the language. (Sort of)!

    But then maybe this isn't a good idea, what happens if the classes extend other classes already? An interface is perhaps better? But then, if I were to add a language, the dictionary mapping would not be in on-site, but in every sense!

    What do you think? Is there another way? How this work usually?

    It is usually done with ResourceBundles, one for each language you want to support. The idea is pretty much the same thing, but there is much less inheritance and interfaces involved.

  • Questions from the media for the Dreamweaver Sites without style sheets?

    Can someone tell me if it is possible to create queries to support for existing websites created in Dreamweaver using the 'design' without style sheets? I watched a lot of videos and read a lot of articles, but they don't show me how to do this without style sheets. Some of these sites are large and it would take me ages each other again start completely from scratch. I am looking for a simple solution.

    I haven't used this product but PVII has excellent customer support.  If you show them one of the pages of your site, I'm sure they can tell you if it will work or not.

    The attributes height and width of stripping?  Yes.  Otherwise the CSS code below

    IMG {max-width: 100 %}}

    Has zero effect on your images.  The idea here is to put some CSS in a style sheet large site that is shared by all of your HTML pages, so you don't have to resize the images manually.   Do it on a test page to see your results.

    Nancy O.

  • With the help of two sheets of different styles in a scene

    I write a tool with which a user can design screens. In the tool, there is a wysiwyg preview area.
    What I want to do: the tool itself must use a certain style (call it 'style sheet tools'). The preview screen should use a different style, which is defined by the application that is presented in preview ("stylesheet for the application").

    Is it possible to define the outer part is using 'tool style sheet', the inner part is using 'application style sheet' - so to have two different style sheets, being assigned to different areas of the screen (a field being nested within each other).

    Of course...: I could assign special style classes to all the controls in the tool, but it would be much easier for me, if I could avoid this...

    I believe very strongly that what I want is not possible: scenes cannot be nested in another, style sheet assignments are made at the level of the stage.
    But: maybe I'm wrong with my assumptions... and there may be a single magic solution...

    Thanks for the tips! -also negative adivce ("it is not possible!") is appreciated!

    style sheet assignments are made at the level of the stage.

    This is not necessarily true.

    The CSS reference guide: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html

    Starting with JavaFX 2.1, the parent class has a property of style sheets, allowing style sheets to be located on a container. This allows a single branch of the graphic scene to have a separate set of styles. Any instance of Parent can have style sheets. A child will have its styles of its own inline styles, stylesheets, of all his ancestors and leaves the scene style.

  • You can control when the styles are added on your style sheet?

    I would like to have css files organized in a certain way for the ease of use and DW sometimes join the end and sometimes add to the middle.

    It is quite easy to organize styles in CSS designer. There are several aspects:

    • When a selector is already selected in the pane of selectors, by clicking on the button "+" to create a new selector inserts the new rule of style immediately after the selected one.
    • If you want to move the selectors in your stylesheet, you can drag and drop them in the Panel of selectors. The style rules will be moved to the new location in the style sheet.
    • You can even move a different style sheet style rules. Select the styles that you want to move and begin to drag. Keep the mouse button while dragging on the @Media pane and then drag the style selected on the stylesheet to target in the Sources pane.
    • To adapt a style rule existing for use in a media query, right click on the selector and choose duplicate in the query on the shortcut menu. You can then select the media query in the submenu that appears.
  • FXML and style sheets

    FXML another question I'm afraid.

    The FXML [url http://download.oracle.com/javafx/2.0/fxml_get_started/jfxpub-fxml_get_started.htm] guide shows how we can define a style directly in the FXML, but anyone know if it is possible to define a style on a node class in FXML which is defined in a style sheet? In the code, this would be through:
    myLabel.styleClass().add("myLabelStyle")
    In FXML, I tried the following options (each fails in different ways):
    <Label text="My Label" style="myLabelStyle"/> 
    <Label text="My Label" styleClass="myLabelStyle"/>
    <Label text="My Label" fx:style="myLabelStyle"/>
    <Label text="My Label" fx:styleClass="myLabelStyle"/>
    Better that I came up with this day consists of defining the 'id' of the node, and then use the id selector "#" in the style sheet. It works but it is clumsy and if I have a fx:id for mapping to the controller I need to put both that is painful:
    <Label text="My Label" fx:id="myLabel" id="myLabel"/>
    Anyone got the best options?

    See you soon,.
    zonski

    Hello

    Here is a concrete example of what you wish to achieve.

    
    

    The fx:id is here also because this is necessary for the label stored in the right place in the controller. For style, I use the style class.

    .my-label {
       -fx-text-fill: green;
    }
    

    Michael

    Published by: MiPa on 04.09.2011 23:13

    Published by: MiPa on 04.09.2011 23:17

  • Apply the style sheet to the entire project

    I inherited a project that has several style sheets (.css) and uses different style sheets for different subjects. I want to consolidate them and then apply a style sheet to the entire project. Does anyone know how to do?
    MAGNIN

    On the themes tab, select all of the themes, right click, select Properties. In the appearance of the theme properties dialog box tab, select the CSS you want.

    Good luck
    Leon

Maybe you are looking for