This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

[closed] Graphics on Forms & how the css file is structured


  1. adrianwilliams
    Member

    I'm considering putting a graphic on the header part of the form. Would this be coded in the css file ? If so, where?
    A breakdown of how the css file works would be useful for those of us who are not so hot on coding.
    Thanks.

    Posted 16 years ago #
  2. yuniar

    Yes, this should be coded in the CSS file.

    Search for a section like this:

    /**** Logo Section  *****/
    h1
    {
    	........
    }


    Now, just edit/add background-image to your image path inside that h1 section. So your final code would be something like this:

    h1
    {
    	background-color:#dedede;
    	margin:0;
    	min-height:0;
    	padding:0;
    	text-decoration:none;
    	text-indent:-8000px;
    	background-image: url('http://www.appnitro.com/demo/images/machform.gif');
    	background-repeat: no-repeat;
    }

    You could also adjust the background-color to suit your need.
    Hope that helps.


    MachForm Founder

    Posted 16 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.