SSIs and CSS
With server side includes, should I include any css for the
SSI with the ssi file or should I attach it to the main page? I am
guessing that I should attach it to my ssi file, but I just wanted
to get some opinions.
> for the SSI with the ssi
> file or should I attach it to the main page?
css or external css links belong in the head section of the
main document,
not in the included file.
You can use a "design time stylesheet" so the styles are
available when
working on the include file.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
Similar Messages
-
I'm really hoping someone can help with this.
I have a couple of SSI's on a site I'm developing. They are
text only .html files that have links on them to other pages where
you can get more info.
My problem is that the page properties for my index.php page
override the CSS that I've created for the SSI's. I want the SSI
text to have it's own look, separate from what the look of the
index.php page is. Is this an easy fix or more major development.
I'm pretty new at all of this so talk to me like a child.
Thanks in advance for your help.Put the CSS for the includes into the parent files. The
include files
should contain NO CSS.
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
==================
"graphxguy777" <[email protected]> wrote in
message
news:eertmi$avr$[email protected]..
> I'm really hoping someone can help with this.
>
> I have a couple of SSI's on a site I'm developing. They
are text only
> .html
> files that have links on them to other pages where you
can get more info.
>
> My problem is that the page properties for my index.php
page override the
> CSS
> that I've created for the SSI's. I want the SSI text to
have it's own
> look,
> separate from what the look of the index.php page is. Is
this an easy fix
> or
> more major development. I'm pretty new at all of this so
talk to me like a
> child.
>
> Thanks in advance for your help.
>
>
> -
SSI reading CSS but not applying it fully
Hi All,
I have just discovered SSI, so please bare (sp) with me..
I have a server side include (SSI) that references a CSS file and it seems to be working 90%, meaning the final file that calls the include does display the content as I expected when viewed on the server, except that many of my fonts and stuff aren't being displayed correctly.
It appears that the general layout of the site, along with various images used for navigation, and even jquery and spry menus etc seem to be working well (all of which are referenced to within the SSI and or the CSS that the SSI references), BUT my paragraph text and headers are all displaying in huge fonts and in wrong font-families etc...??
Does anyone have any clue why this might be?
Thanks in advance of any help
katrinaHi Bregent,
Thanks so much for replying. And sorry, here is a link to the complete file that uses the SSI's: http://tinyurl.com/SSIweirdCSS
I am not sure what you meanby 'use design time stylesheets' ... what are they?
Thanks so much for your input...
Katrina
Note: if you navigate elsewhere in the site (none of the other pages use SSI's) and compare, you'll see that the page linked to above (which does use the SSI's) is correctly using the CSS that is referenced in the SSI for the most part, but it's the body text and headers that are unusually large and incorrect font...? -
PL/SQL Server Pages (PSPs) and CSS
Hi,
I am used to creating standards compliant websites using XHTML and CSS and some other application language for dynamic content. I have recently started working with PL/SQL and want to create an application using PSPs. I was wondering the best way to go about including CSS in an application, because it doesn't make sense to duplication the CSS on each page, but since the PSP is converted to a procedure this seesm to be the only way to include CSS?
Any ideas on best practice for using CSS with PSPs?I think you should be able to put all your CSS into a single file, or only a few files, like in a normal web project and that you can include this file using the regular HTML tag.
You store your CSS file(s) in a folder that is accessible by your website. Normally this is achieved by adding an Alias in the Apache webserver that is embedded in the Oracle database.
If I remember it correctly (it has been a while since I saw the embedded webserver) your request for your PSP goes to an url like http://your.server.com/pls/your_page. Everything of the url that comes after /pls/ is handled by the mod_plsql Apache module that is repsonsible for sending the request to the database and returning the result to the screen.
If you can define an alias like 'css' (without the quotes), which makes the url something like http://your.server.com/css/, then you can try to include your CSS file(s) referring to /css/file.css. Once you get this working, you can do the same for images.
This is a generic approach that can get you started hopefully.
Good luck.
I hope this can get you started. Information on the alias can be found -
Custom html and css broken in BC
I have created some content in iWeb. A photo gallery that doesn't work when uploaded to BC.
It works fine when I upload to a different Host.
http://isodisc.businesscatalyst.com/usbcat/ISODISC_Full_USB_Flash_Catalog.htmlI'm building my website in Muse, using a few Adobe typeKit fonts - Open Sans and Bebas Neue. There's plenty of code and css developed when I export the muse file QUESTION: Will Contribute maintain my font choice integrity? Or do I play it safe with standard web-safe choices?
-
Why do we need SSIS and star schema of Data Warehouse?
If SSAS in MOLAP mode stores data, what is the application of SSIS and why do we need a Data Warehouse and the ETL process of SSIS?
I have a SQL Server OLTP database. I am using SSIS to transfer my SQL Server data from OLTP database to a Data Warehouse database that contains fact and dimension tables.
After that I want to create cubes using SSAS form Data Warehouse data.
I know that MOLAP stores data. Do I need any Data warehouse with Fact and Dimension tables?
Is not it better to avoid creating Data warehouse and create cubes directly from OLTP database?Another thing to note is data stored in transactional system may not always be in end user consumable format for ex. we may use bit fields/flags to represent some details in OLTP as storage required ius minimum but presenting them as is would not make any
sense to user as they would not know what each bit value represents. In such cases we apply some transformations and convert data into useful information for users to understand. This is also in the warehouse so that information in warehouse can directly be
used for reporting. Also in many cases the report will merge data from multiple source systems so merging it on the fly in report would be tedious and would have hit on report server. In comparison bringing them onto common layer (warehouse) and prebuilding
aggregates would be benefitial for the report performance.
I think (not sure) we join tables in SSAS queries and calculate aggregations in it.
I think SSAS stores these values and joined tables and we do not need to evaluates those values again and this behavior is like a Data Warehouse.
Is not it?
So if I do not need historical data, Can I avoid creating Data Warehouse?
On the backend SSAS uses queries only to extract the data
B/w I was not explaining on SSAS. I was explaining on what happens inside datawarehouse which is a relational database by itself. SSAS is used to built cube (OLAP structures) on top of datawarehouse. star schema is easier for defining relationships
and buidling aggregations inside SSAS as its simple and requires minimal lookups to be performed. Also data would be held at lowest granularity level which can easily be aggregated to required levels inside OLAP cubes. Cube processing is very resource
intensive and using OLTP system would really have a huge impact on processing performance as its nnot denormalized and also doing tranformation etc on the fly adds up to complexity. Precreating a layer (data warehouse) having data in required format would
make cube processing easier and simpler as it has to just cross join tables and aggregate data based on relationships defined and level needed inside the cube.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to include external javascript and css resources to a jsf?
I need to include external css and javascript files to my jsf page. Using the code below does not work because all the styles on the css page are ignored and the functions within the js files are not executed.
<link rel="stylesheet" type="text/css" href="/resources/styles/style.css" />
<script language="JavaScript" src="/resources/javascript/util.js"></script>When I try to execute any js function within a script tag on a jsf page I get an object expected error.
I googled about my problem and found this piece of code for importing styles for an external css.
<style type="text/css">
@import url("/resources/styles/style.css");
</style>How could I add an external javascript file to my jsf?Used the relative urls in my first post as well as these, and both were not working.
<link rel="stylesheet" type="text/css" href="./resources/styles/style.css" />
<script language="JavaScript" src="./resources/javascript/util.js"></script>The ./ tells that the external file can be found by starting at the current directory and working down the path to the specified file. This is my directory structure. Index.jsf is the file that references the external js and css files.
-Webcontent
|_index.jsf
|_resources
|__styles
| |__style.css
|__javascript
|__util.js
Either way I still can't reference the files that I need. Calling a javascript function results in an object expected error, and the styles are ignored.
If I include the js file directly in the jsf then I can get it to work. I don't want to do this because I have created a handful of seperate js files, and do not want to include all of them in one page. I am using myfaces and tomahawk if that helps. -
Upgrade from 2.2.1 to 3.1.2: Breaks JS and CSS?
Upgraded from 2.2.1 to 3.1.2. The upgrade went fine but most JS and CSS seems to be broken.
Examples
1. Javascript functions not defined: redirect, html_ShowElement
2. Template button images are broken. See http://i41.tinypic.com/294pgso.jpg
My page templates are mostly unchanged, i.e. they have stuff like
#HEAD#
<title>#TITLE#</title>
<link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_10/theme_V2.css" type="text/css" />
This seems to be generating the following HTML
<script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
<script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
< link rel="stylesheet" href="/i/css/core_V22.css" type="text/css" />
< ! -- [ if IE]><link rel="stylesheet" href="/i/css/core_ie_V22.css" type="text/css" /><![endif]-->
< link rel="stylesheet" href="/i/themes/theme_10/theme_V2.css" type="text/css" />
Version 3.1.2 seems to have changed stuff around. I tried creating symbolic links from htmldb_html_elements.js -> apex_3_1.js and htmldb_get.js -> apex_get_3_1.js and this got me past the Undefined errors but now I get 'apex is not defined'.
Is there a quick way to upgrade all the applications to the new way of doing things? I am not looking forward to modifying all my page templates!
Help!
ThanksSorry, my fault, my database got refreshed from one containing Apex v 2.2.1 without my knowledge and the OHS images folder was still pointing to the that from the 3.1.2 distribution. This was causing the problem. When I upgraded Apex to v3.1.2 again, everything is back to normal.
The #HEAD# substitution string in my page templates automatically pulls in the appropriate JS/CSS libraries
<script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
<script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
<link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
< ! -- [ if IE ]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
<link rel="stylesheet" href="/i/themes/theme_10/theme_V2.css" type="text/css" />
Sorry for the false alarm
Thanks -
Java Swing/AWT and FX is so old school! Give me HTML and CSS for GUI!
Dear Java,
I am a seasoned programmer and I feel it's time JAVA implements a GUI system where it uses HTML and CSS for the GUI. For the love of god just look at the interfaces you can make using HTML and CSS alone. I am a big fan of Java Swing and the recent GUI designer for FX is quite cool. But they are just not as simple as HTML and CSS. And JavaFX has some interesting requirements for the graphics.
I know it is possible to use JavaFX and implement the WebView/WebDriver and make it load a HTML page, etc... but why go through all the trouble?
Just imagine... if you make Java where it has powerful back-end to do what it does best and the HTML/CSS powered GUI on the front-end. It will make the lives of many developers much much easier.
I am not sure whether a Swing designed GUI will be faster than a HTML designed GUI... but if you look at a traditional browser and how fast it renders HTML/CSS, I am sure if Java had a native Form where it uses HTML and CSS to render the GUI, Java will make the dreams of many programmers a reality.
Make it happen!!!!Check this i solve problem just now using this
https://wiki.archlinux.org/index.php/Ja … ow_Manager -
How can we a validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.
Please see:
http://www.bidn.com/blogs/DevinKnight/ssis/76/does-file-exist-check-in-ssis
http://social.msdn.microsoft.com/Forums/en-US/01ce7e4b-5a33-454b-8056-d48341da5eb2/vb-script-to-write-variables-to-text-file -
HTML and CSS Best Practices for Eloqua?
Hello Topliners Community,
My name is Ben and I am a Web Designer. I am currently looking for any guidance on HTML and CSS best practices when working with Eloqua. I am interested in the best practices for e-mail and landing pages.
Thank you,
BenPersonally I like to upload my custom created html/css into Eloqua instead of using the WYSIWYG.
But if you must then right clicking on text boxes and click edit source is the way to go.
There was a good discussion on editing your forms with CSS:
Energize Your Eloqua10 Forms with CSS
created by Ryan Wheler on Nov 2, 2012 8:44 AM, last modified by Greg Stotler on Sep 19, 2013 2:00 PM
Version 2
CSS can be used to heavily customize the layout of forms in Eloqua10. In this article we will provide sample cover some common formatting use cases on Eloqua10 Landing Pages. Further details about uses of CSS in Eloqua10 form templates can be found here: EE12 - Do It - Eloqua - Energize E10 Forms
Eloqua10 Forms HTML Structure
Below is an outline of the structure of the HTML generated by Eloqua when a form is added to a landing page. By targeting the HTML classes highlighted below, we can control the layout of any form on your landing page.
For the rest of page: http://topliners.eloqua.com/docs/DOC-3015 -
HTML layout and CSS handling in CQ5
OK...so this may sound like a newbie question...because it is. Kinda.
I'm new to CQ5 but am an experienced web developer. CQ5 doesn't appear to provide tools to layout of web pages (html tags, divs, css styling, ...). I'm comfortable doing this by hand, but that seems rather old school in the days of Dreamweaver and such.
What layout/design tools do you recommend for creating HTML and CSS pages for use in CQ5? I have wireframes in-hand and ready to translate to HTML.
Thanks!None of the enterprise content management systems that I've used, including CQ, provide WYSIWYG tools for building the layouts/templates of the site.
I always build complete static versions of the designs/wireframes by hand entirely outside of CQ. I prefer Textmate, but of course you can use whatever visual tool you prefer. After the static HTML passes muster it then needs to be integrated, by hand, into CQ in the form of page and content components. This is generally straightforward (depending on the design).
CQ 5.5 does give you the Site Importer to help bring an existing page (or set of pages) into CQ which it then breaks up into the beginnings of a project, but in reality the developer will still need to break that up even further anyway. Applying this integration by hand from the ground up will likely give you better control and awareness of what's going on in your project. Letting to much "magic" happen behind a slick wizard or WYSIWYG won't help you when something (inevitably) needs debugging and dissection.
Having said all this, since the Adobe acquisition of CQ, I wouldn't be surprised if there was some kind of Dreamweaver plugin in the works for connecting to CQ!
Good luck! -
I have been working with Velocity to produce dynamic HTML and displaying the results with the JEditorPane. I have been searching for an article or tutorial that talks about the JEditorPane (HTML and CSS related), but nothing has come up (I also did a quick search in this forum).
I would like to know what is JEditorPane capable of doing in terms of displaying HTML with CSS, and how do you set it up.
If JEditorPane is not the best option with HTML that has positioning in CSS, can somebody suggest something else that has better support for CSS than JEditorPane?
I would greatly appreciate any response (Any suggestion or links to additional information will be great too!)
Thanks,
Victor GutierrezI would like to know what is JEditorPane capable of
doing in terms of displaying HTML with CSS, and how
do you set it up. JEditorPane has no support for CSS
If JEditorPane is not the best option with HTML thatit's not
has positioning in CSS, can somebody suggest
something else that has better support for CSS than
JEditorPane?Search google for 'JDIC' find the WebBrowser component
I would greatly appreciate any response (Anylet's not get carried away here
suggestion or links to additional information will be
great too!)
Thanks,
Victor Gutierrez -
Tools for validate HTML and CSS Error in DW?
Hello Guys,
Want to know any addon or menu tool in Dreamweaver to validate HTML and CSS error.
Because every time i have to check in w3c validation. If DW having in this options it wouldbe great to develop website with out error.
Please let me know your suggestion for that.
Cheers
Abdul
www.ilearnsmart.com
www.whitehouseit.comDW does provide tools to help with validation:
http://articles.sitepoint.com/article/dreamweaver-8-standards/1
http://www.adobe.com/support/dreamweaver/htmljava/migrating_hs_to_dwmx/migrating_hs_to_dwm x06.html
I find it a bit more comfortable though to use teh W3 Validator and I always access that with the Firefox Browser and the Web Developer plug-in. Another good plug in for FF is Firebug.
Martin -
About HTML and CSS styles in the Contribute Style menu
This question was posted in response to the following article: http://help.adobe.com/en_US/contribute/using/WS5b3ccc516d4fbf351e63e3d1180fba3730-7e6cCS5. html
I'm building my website in Muse, using a few Adobe typeKit fonts - Open Sans and Bebas Neue. There's plenty of code and css developed when I export the muse file QUESTION: Will Contribute maintain my font choice integrity? Or do I play it safe with standard web-safe choices?
Maybe you are looking for
-
I upgraded to 2.1 and my Message Agent will not start. running /etc/init.d/novell-nmma start returns FAILED. I cannot find any logs or reports on why it fails. I have looked everywhere for logs and find nothing. I edit strtup.ma to enable logging but
-
I was setting up my pop's new iPhone 4. When I was setting up the Safari Browser, it asked what I thought was which search engine I wanted to use, so I entered Google. Problem is that I somehow made the Safari Browser open up into a Google Browser.
-
SQL Query to return all the dependent objects
Hi, I have a question. Suppose I am creating a table with a join on 10 other tables, views etc.. And there are nested sub-queries in the CREATE statement. How can I get the list of all the dependent objects for that table without counting them manual
-
How...what..how..CC7.1
How does one do this? "Multiple clips and sequences can be sent to Adobe Media encoder at once" What does this mean? "New Preference to allow the trim type of a previously selected point with the cursor" How does one do this? Transitions can be paste
-
Comp CC Files Stored in Cloud Files?
Will there be any app enhancements that will allow a file created in Adobe Comp CC to be stored in my cloud files instead of sending it immediately to InDesign?